Skip to content

Conversation

@mbhaskar
Copy link
Member

Doc producers are spun for each partition range, and each one should have its own copy of feedoptions. In the existing implementation same copy of feedoptions is being used for all the producers due to which there is a possibility of loosing continuation token depending on the order of creation of document producers when multiple (>2) partition ranges are present. This PR addresses this issue and ensures feedoptions are set properly for each producer.

Copy link
Contributor

@moderakh moderakh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. thanks

Copy link
Member

@kushagraThapar kushagraThapar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

Copy link

@David-Noble-at-work David-Noble-at-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@moderakh moderakh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@moderakh moderakh merged commit 872c938 into master Jan 31, 2020
@moderakh moderakh deleted the mbhaskar/continuation-token-bug-fix branch January 31, 2020 00:40
mbhaskar added a commit to mbhaskar/azure-sdk-for-java that referenced this pull request Feb 10, 2020
kushagraThapar pushed a commit to Azure/azure-sdk-for-java that referenced this pull request Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants