-
Notifications
You must be signed in to change notification settings - Fork 792
SOLR-16286 : Topic stream not honoring initialCheckpoint in getPersis… #935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
b745a19
SOLR-16286 : Topic stream not honoring initialCheckpoint in getPersis…
3ca8ec1
SOLR-16287 : MapStream - remap tuple value(s)
7a890e9
SOLR-16287 : MapStream - remap tuple value(s)
fd29035
SOLR-16286 : Topic stream not honoring initialCheckpoint
ec33235
Update solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/Str…
danrosher bd5a322
Update solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/Str…
danrosher 4c90a4a
alternative StreamDecoratorTest.testClassifyStream adjustment
cpoerschke 08b0775
Update solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/Str…
danrosher f598257
- merge changes from main branch
591c75d
Merge branch 'main' into jira/SOLR-16286
cpoerschke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this is the same expression as above but without the
initialCheckpoint=0... though reading the (current) docs that means "the highest version in the index" though if the highest version in the index was used then the first batch in the stream below would not include the documents just added with ids 2 and 3?Wondering if the documentation needs tweaking to account for persisted checkpoints?
https://github.com/apache/solr/blob/releases/solr/9.0.0/solr/solr-ref-guide/modules/query-guide/pages/stream-source-reference.adoc#topic-parameters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checkpoints are persisted when the stream is closed, or if checkpointEvery > -1 (and then every count % checkpointEvery), otherwise the checkpoints are stored in the checkpoints hashmap, so for 'just' added docs, I think as long as is it matches the underlying query, and those docs have been soft committed (see caveat for topicstream SOLR-8709), I think they should be picked up, unless I'm completely misunderstanding ?