Skip to content
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

[DOCS] Document index.gc_deletes Setting #21095

Closed
pickypg opened this issue Oct 24, 2016 · 7 comments
Closed

[DOCS] Document index.gc_deletes Setting #21095

pickypg opened this issue Oct 24, 2016 · 7 comments
Labels
discuss :Distributed Indexing/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. >docs General docs changes >enhancement help wanted adoptme

Comments

@pickypg
Copy link
Member

pickypg commented Oct 24, 2016

Currently the only place that you can learn about index.gc_deletes is the old Versioning Support blog post (at the bottom).

@pickypg pickypg added >enhancement >docs General docs changes help wanted adoptme :Core/Infra/Settings Settings infrastructure and APIs labels Oct 24, 2016
@agirbal
Copy link

agirbal commented Oct 24, 2016

+1
Would like to hear about caveats too - does it persist upon shard relocation, node restart, etc.
Typical question: I've got a queue with updates that may not be ordered, i.e. an update to a doc might come after a delete which has a higher version number. Can I rely on this automatic feature of ES to prevent the doc from being reinserted? Or is this feature purely for internal ES hygiene?

@bleskes
Copy link
Contributor

bleskes commented Oct 25, 2016

Can I rely on this automatic feature of ES to prevent the doc from being reinserted?

Yes you can, but you need to guarantee that gc.deletes is comfortably higher than the time between processing the delete command and the index one, including things like GC and such.

@rjernst
Copy link
Member

rjernst commented Mar 14, 2018

@bleskes Is this still something that should be documented? If so, can you do so, or assign to someone who knows enough about this setting (the javadocs in code don't tell me enough to know how to explain it).

@bleskes
Copy link
Contributor

bleskes commented Mar 14, 2018

Good question. I'll bring it up for discussion. Thanks for the ping.

@bleskes bleskes added discuss :Distributed Indexing/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. labels Mar 14, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@DaveCTurner
Copy link
Contributor

Relates #28781.

@jasontedor jasontedor removed the :Core/Infra/Settings Settings infrastructure and APIs label Mar 28, 2018
@DaveCTurner
Copy link
Contributor

Closed by #28781.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss :Distributed Indexing/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. >docs General docs changes >enhancement help wanted adoptme
Projects
None yet
Development

No branches or pull requests

7 participants