-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Pause indexing completely in serverless when throttling #127173
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
ankikuma
merged 34 commits into
elastic:main
from
ankikuma:04212025/PauseIndexingES11516
May 8, 2025
Merged
Changes from 18 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
8fb0811
commit es changes
ankikuma 23ebfcd
Merge remote-tracking branch 'upstream/main' into 04212025/PauseIndex…
ankikuma e65edc3
[CI] Auto commit changes from spotless
9a17752
es commit
ankikuma 0ca45bd
commit es
ankikuma b6174c3
Merge remote-tracking branch 'upstream/main' into 04212025/PauseIndex…
ankikuma c192804
merge
ankikuma 9397d07
[CI] Auto commit changes from spotless
72d7b93
spotless
ankikuma 4b9bf6e
merge
ankikuma 1aa3b03
Merge remote-tracking branch 'upstream/main' into 04212025/PauseIndex…
ankikuma 284aadb
address comments
ankikuma 1121e5a
review comments and test
ankikuma 2493b54
Merge remote-tracking branch 'upstream/main' into 04212025/PauseIndex…
ankikuma a1324e6
refresh
ankikuma d480056
comment
ankikuma d33901d
comment
ankikuma 10a60a5
[CI] Auto commit changes from spotless
28c1f27
remove debug comments
ankikuma adc1bf6
commit
ankikuma 8ce3c9f
Merge branch '04212025/PauseIndexingES11516' of github.com:ankikuma/e…
ankikuma 8a52140
Merge remote-tracking branch 'upstream/main' into 04212025/PauseIndex…
ankikuma 8e2165c
commit
ankikuma 6dc3e8f
[CI] Auto commit changes from spotless
e8e48f9
change lock implementation
ankikuma a06f7e6
merge
ankikuma 0969087
minor comment
ankikuma a8f83fb
Merge remote-tracking branch 'upstream/main' into 04212025/PauseIndex…
ankikuma 38a0153
Merge remote-tracking branch 'upstream/main' into 04212025/PauseIndex…
ankikuma 5edcc04
test with setting true
ankikuma 9147f3b
Merge remote-tracking branch 'upstream/main' into 04212025/PauseIndex…
ankikuma e1f5de2
default setting false
ankikuma 73f93c7
Merge remote-tracking branch 'upstream/main' into 04212025/PauseIndex…
ankikuma 1e77c09
Merge remote-tracking branch 'upstream/main' into 04212025/PauseIndex…
ankikuma 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
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.
This seems counter to how the current structure is, special casing this pause lock. Can we do something like following instead? We could also go all in on the Semaphore and remove the
Lockinterface from the equation.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.
Sure, I like this and it works so I can switch to this. I guess the only thing we loose with this is Re-entrancy, but I don't think we need that for the way we use this lock right now.