Require soft deletes for searchable snapshots#55453
Conversation
|
Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore) |
| ); | ||
|
|
||
| createIndex(indexName); | ||
| assertAcked(prepareCreate(indexName, Settings.builder().put(INDEX_SOFT_DELETES_SETTING.getKey(), true))); |
There was a problem hiding this comment.
In fact this is always true in master, but not in 7.x. Setting it in both places for ease of backport.
|
I would rather like to avoid this, as it won't allow us to load most indices created with 6.x. Can we just adopt the test change for now with a new TODO? |
|
Do you mean to revert the change to I expect we'll be using Lucene 8.6 and therefore be able to fix this properly before too long. |
|
@elasticmachine please run elasticsearch-ci/1 |
This allows us to perform some dummy indexing including updates/deletes.
A simpler fix that lets us support deleted docs in searchable snapshots.