Skip to content

Change feed (pull model) behavior on physical partition split? #4938

Closed Answered by jcocchi
JensSchadron asked this question in Q&A
Discussion options

You must be logged in to vote

@JensSchadron continuation tokens for the change feed pull model will continue to work post partition split, and the iterator processing the continuation token will receive changes from both child partitions after the split. The continuation token is created for the FeedRange defined when creating the FeedIteraror and will continue working for that range regardless of the underlying partition layout.

Let's imagine there's initially two physical partitions in your container and you create two FeedIterators to process changes from them. The FeedRange for your first iterator covers [A, M] which represents the first physical partition. If that physical partition splits, you now will have two …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by JensSchadron
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants