Skip to content

Conversation

@bleskes
Copy link
Contributor

@bleskes bleskes commented May 29, 2017

The IndexDeletionPolicy is currently instantiated by IndexShard and is then passed through to the engine as a parameter. That's a shame as it is really just an implementation detail and the engine already has a method to acquire a commit.

This is preparing for a follow up PR that will we connect the index deletion policy with a new translog deletion policy.

Relates to #10708

Copy link
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@bleskes bleskes merged commit dfdf496 into elastic:master May 29, 2017
@bleskes bleskes deleted the engine_inline_deletion_policy branch May 29, 2017 13:56
@bleskes
Copy link
Contributor Author

bleskes commented May 29, 2017

Thx @jasontedor . I will give it a bit and backport.

@jasontedor
Copy link
Member

My preference would be to leave the 5.x branches the same and to not backport this. This branch (master) is going to diverge from the backport anyway.

jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request May 29, 2017
* master:
  Add a second refresh to concurrent relocation test
  Add a dummy_index to upgrade tests to ensure we recover fine with replicas (elastic#24937)
  Rework bwc snapshot projects to build up to two bwc versions (elastic#24870)
  Move the IndexDeletionPolicy to be engine internal (elastic#24930)
  [Tests] Harden InternalExtendedStatsTests (elastic#24934)
  TCorrecting api name (elastic#24924)
  Add search method to high level REST client (elastic#24796)
  Add fromXContent method to ClearScrollResponse (elastic#24909)
  ClearScrollRequest to implement ToXContentObject (elastic#24907)
  SearchScrollRequest to implement ToXContentObject (elastic#24906)
  Fix bug in weight computation for query cache
@bleskes bleskes removed the v5.5.0 label May 30, 2017
@bleskes
Copy link
Contributor Author

bleskes commented May 30, 2017

Sure. I removed the 5.5.0 label.

@clintongormley clintongormley added :Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. :Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. and removed :Engine :Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. labels Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. >enhancement v6.0.0-alpha2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants