-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Wait for changes to be visible by search #17986
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
87 commits
Select commit
Hold shift + click to select a range
0f8fa84
Create TransportReplicatedMutationAction
nik9000 8bdc415
Create ReplicatedMutationRequest
nik9000 0642083
Factor out common code from shardOperationOnReplica
nik9000 80119b9
Factor out common code in shardOperationOnPrimary
nik9000 0fc045b
Make performOnPrimary asyncS
nik9000 b42b8da
Don't finish early if the primary finishes early
nik9000 34b3789
Doc
nik9000 3d22b2d
Push the listener into shardOperationOnPrimary
nik9000 5b142dc
Cleanup
nik9000 52c5f7c
Add a listener to shard operations
nik9000 1f25cf3
Cleanup
nik9000 85033a8
Never reply to replica actions while you have the operation lock
nik9000 a2bc7f3
Return last written location from refresh
nik9000 213bebb
Add refresh listeners
nik9000 a5ffd89
WIP
nik9000 46c855c
Move test to own class
nik9000 247cb48
Basic block_until_refresh exposed to java client
nik9000 9919758
Oh boy that wasn't working
nik9000 611cbee
Move ReplicationResponse
nik9000 e445cb0
Javadoc
nik9000 2058f4a
Pass back information about whether we refreshed
nik9000 8d121bf
Cleanup listener implementation
nik9000 1f36966
Cleanup translog tests
nik9000 8a80cc7
Support for update
nik9000 bcfded1
Replace LinkedList and synchronized with LinkedTransferQueue
nik9000 bd53116
Don't try and set forced refresh on bulk items without a response
nik9000 8250343
Switch to estimated count
nik9000 0c9b047
REST
nik9000 e61b739
Trigger listeners even when there is no refresh
nik9000 6c43be8
Rename refresh setter and getter
nik9000 b971d6d
Docs for setForcedRefresh
nik9000 066da45
Remove RefreshListener interface
nik9000 df91cde
unused import
nik9000 d8926d5
Move refresh listeners into IndexShard
nik9000 179c27c
Move refresh listeners into their own class
nik9000 88171a8
Rename test
nik9000 3322e26
Increase default maximum number of listeners to 1000
nik9000 55596ea
Remove listener from shardOperationOnPrimary
nik9000 1ff50c2
Remove Translog#lastWriteLocation
nik9000 91149e0
Finally!
nik9000 b8cadce
Docs
nik9000 13807ad
Move async parts of replica operation outside of the lock
nik9000 87be7ea
Revert "Move async parts of replica operation outside of the lock"
nik9000 7056b96
Patch from boaz
nik9000 8eebaa8
Take boaz's changes to their logic conclusion and unbreak important s…
nik9000 dc28951
Javadocs and compromises
nik9000 15d948a
Better....
nik9000 4d8bf5d
explain
nik9000 957e9b7
/Consumer<Runnable>/Executor/
nik9000 7da36a4
More cleanup for RefreshListeners
nik9000 1ec71ee
s/LinkedTransferQueue/ArrayList/
nik9000 5d8eecd
Remove funky synchronization in AsyncReplicaAction
nik9000 da1e765
Reply with non-null
nik9000 04343a2
Javadoc
nik9000 b2704b8
Remove unused imports
nik9000 0d49d9c
Flip relationship between RefreshListeners and Engine
nik9000 87ab6e6
Shorten lock time in RefreshListeners
nik9000 2f579f8
Clean up registration of RefreshListeners
nik9000 bb27392
Remove duplication in WritePrimaryResult and WriteReplicaResult
nik9000 43ce50a
Delay translog sync and flush until after refresh
nik9000 5797d1b
Fix forced_refresh flag
nik9000 fb16d2f
Rewrite refresh docs
nik9000 8453fc4
Javadoc
nik9000 d2123b1
Make more stuff final
nik9000 058481a
Fix javadoc links
nik9000 2b771f8
Pull listener out into an inner class with javadoc and stuff
nik9000 74be148
Move funny ShardInfo hack for bulk into bulk
nik9000 6bb4e5c
Support null RefreshListeners in InternalEngine
nik9000 19606ec
Assert translog ordering
nik9000 4ffb7c0
Fire all refresh listeners in a single thread
nik9000 d523b57
Explain Integer.MAX_VALUE
nik9000 30f972b
Handle hanging documents
nik9000 b74cf3f
Preserve `?refresh` behavior
nik9000 788164b
S/ReplicatedWriteResponse/WriteResponse/
nik9000 00d09a9
Improve comment
nik9000 aeb1be3
Remove checkstyle suppression
nik9000 0cd67b9
Deprecate setRefresh(boolean)
nik9000 522ecb5
Document deprecation
nik9000 9e63ad6
Test for TransportWriteAction
nik9000 1c3e64a
Merge branch 'master' into block_until_refresh2
nik9000 9c9a1de
Breaking changes notes
nik9000 03975ac
Cleanup after merge from master
nik9000 c2bc365
Fix docs
nik9000 9b49a48
Patch from boaz
nik9000 777e23a
Replace static method that takes consumer with delegate class that ta…
nik9000 31f7861
Revert "Replace static method that takes consumer with delegate class…
nik9000 59a753b
Replace a method reference with implementing an interface
nik9000 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
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
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.
bye bye tupple..