-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Watcher: Use Bulkprocessor in HistoryStore/TriggeredWatchStore #32490
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
Merged
spinscale
merged 17 commits into
elastic:master
from
spinscale:1807-watcher-allow-bulk-requests-for-history-store-and-triggered-watches-store
Sep 18, 2018
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
273a352
Watcher: Use Bulkprocessor in HistoryStore/TriggeredWatchStore
spinscale 36e3f7e
fix timeout
spinscale d700558
Merge branch 'master' into 1807-watcher-allow-bulk-requests-for-histo…
spinscale 660b43a
Merge branch 'master' into 1807-watcher-allow-bulk-requests-for-histo…
spinscale c6ff80f
Merge branch 'master' into 1807-watcher-allow-bulk-requests-for-histo…
spinscale 1c2ab0f
to discuss: only use a single bulk processor
spinscale 99b2b1a
Merge branch 'master' into 1807-watcher-allow-bulk-requests-for-histo…
spinscale de78ceb
Merge branch 'master' into 1807-watcher-allow-bulk-requests-for-histo…
spinscale 6bfbeeb
remove TODO, minor refactoring, added more tests when deleting or add…
spinscale 3ba6138
Merge branch 'master' into 1807-watcher-allow-bulk-requests-for-histo…
spinscale 365fefa
Merge branch 'master' into 1807-watcher-allow-bulk-requests-for-histo…
spinscale 11ba093
Merge branch 'master' into 1807-watcher-allow-bulk-requests-for-histo…
spinscale eee7a52
Merge branch 'master' into 1807-watcher-allow-bulk-requests-for-histo…
spinscale 5541e2d
make store final again
spinscale 1ed000f
Merge branch 'master' into 1807-watcher-allow-bulk-requests-for-histo…
spinscale 56a9728
Merge branch 'master' into 1807-watcher-allow-bulk-requests-for-histo…
spinscale 1359c8c
Merge branch 'master' into 1807-watcher-allow-bulk-requests-for-histo…
spinscale 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
Oops, something went wrong.
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.
Does executing watches take into consideration any deleted requests here? what happens if i delete a watch and then wait to submit the bulk, might that watch trigger again? Should we make deletes be the only sync thing? I think thats a fair tradeoff given my very little knowledge here.
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.
yes it does. If the watch is deleted and then a triggered watch is picked, there will be a watch history entry telling you that the referenced watch could not be found.