[ 
https://issues.apache.org/jira/browse/UNOMI-762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Griffon updated UNOMI-762:
--------------------------------
    Description: 
Given plenty of profile created using the profile endpoint such as:
{code}
curl --location 'http://localhost:8181/cxs/profiles' \
--header 'connector_key: {{connector_key}}' \
--header 'Authorization: Basic xxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
    "itemType": "profile",
    "properties": {
        "lastName": "Test",
        "firstName": "Import",
        "nbOfVisits": 280,
        "lastVisit": "2023-01-31T08:41:22Z",
        "firstVisit": "2021-01-30T21:18:12Z",
        "age": 60
    }
}'
{code}
At the same time, a segment is created that match the created profiles (with 
condition lastName = "Test" for example) . 

We should expect all created profiles to be part of the segment.
It happens that some of the profiles are not part of the segment. If 10000 
profiles are created it can be that only 9550 are in the segment.

This task to investigate on why some profiles are not part of the segment. 



  was:
Given plenty of profile created using the profile endpoint such as:
{code}
curl --location 'http://localhost:8181/cxs/profiles' \
--header 'connector_key: {{connector_key}}' \
--header 'Authorization: Basic xxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
    "itemType": "profile",
    "properties": {
        "lastName": "Test",
        "firstName": "Import",
        "nbOfVisits": 280,
        "lastVisit": "2023-01-31T08:41:22Z",
        "firstVisit": "2021-01-30T21:18:12Z",
        "age": 60
    }
}'
{code)
At the same time, a segment is created that match the created profiles (with 
condition lastName = "Test" for example) . 

We should expect all created profiles to be part of the segment.
It happens that some of the profiles are not part of the segment. If 10000 
profiles are created it can be that only 9550 are in the segment.

This task to investigate on why some profiles are not part of the segment. 




> batch creation of profile can generate inconsistencies in segments
> ------------------------------------------------------------------
>
>                 Key: UNOMI-762
>                 URL: https://issues.apache.org/jira/browse/UNOMI-762
>             Project: Apache Unomi
>          Issue Type: Bug
>            Reporter: David Griffon
>            Priority: Major
>
> Given plenty of profile created using the profile endpoint such as:
> {code}
> curl --location 'http://localhost:8181/cxs/profiles' \
> --header 'connector_key: {{connector_key}}' \
> --header 'Authorization: Basic xxxxxxx' \
> --header 'Content-Type: application/json' \
> --data '{
>     "itemType": "profile",
>     "properties": {
>         "lastName": "Test",
>         "firstName": "Import",
>         "nbOfVisits": 280,
>         "lastVisit": "2023-01-31T08:41:22Z",
>         "firstVisit": "2021-01-30T21:18:12Z",
>         "age": 60
>     }
> }'
> {code}
> At the same time, a segment is created that match the created profiles (with 
> condition lastName = "Test" for example) . 
> We should expect all created profiles to be part of the segment.
> It happens that some of the profiles are not part of the segment. If 10000 
> profiles are created it can be that only 9550 are in the segment.
> This task to investigate on why some profiles are not part of the segment. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to