diff options
author | Boaz Leskes <b.leskes@gmail.com> | 2017-04-09 22:04:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-09 22:04:12 +0200 |
commit | b636ca79d579dbef3965b578fa8253aa6189e263 (patch) | |
tree | a97f271a41b0f0b8680d2ef87031470a8d3e0a35 /core/src/test/java/org/elasticsearch/search | |
parent | f0df5e64d8172c200e9e5e5a8b93a08158e22be2 (diff) |
Engine: version logic on replicas should not be hard coded (#23998)
The refactoring in #23711 hardcoded version logic for replica to assume monotonic versions. Sadly that's wrong for `FORCE` and `VERSION_GTE`. Instead we should use the methods in VersionType to detect conflicts.
Note - once replicas use sequence numbers for out of order delivery, this logic goes away.
Diffstat (limited to 'core/src/test/java/org/elasticsearch/search')
0 files changed, 0 insertions, 0 deletions