OpenSearch/qa
Lee Hinman fed2a1a822 Fix Translog.Delete serialization for sequence numbers (#22543)
* Fix Translog.Delete serialization for sequence numbers

Translog.Delete used `.writeVLong` instead of `.writeLong` for the sequence
number and primary term (and their respective "read" variants). This could lead
to issues where a 5.x node sent a translog operation with a negative sequence
number (-2 for unassigned seq no) that tripped an assertion serializing a
negative number and causing ES to exit.

Adds a unit test for serialization and a mixed-cluster REST test, since that was
how this was originally caught.

* Use more realistic values for random seqNum and primary term

* Add comment with TODO for removal in 7.0

* Change comment into an assert
2017-01-11 10:08:04 -07:00
..
backwards-5.0 Fixes 5.3.0-SNAPSHOT typo 2017-01-06 20:37:35 -05:00
evil-tests Merge branch 'master' into keystore 2017-01-06 09:32:08 -08:00
no-bootstrap-tests Switch from standalone-test to standalone-rest-test 2017-01-05 10:55:47 +01:00
rolling-upgrade Fix Translog.Delete serialization for sequence numbers (#22543) 2017-01-11 10:08:04 -07:00
smoke-test-client Switch from standalone-test to standalone-rest-test 2017-01-05 10:55:47 +01:00
smoke-test-http Switch from standalone-test to standalone-rest-test 2017-01-05 10:55:47 +01:00
smoke-test-ingest-disabled Switch from standalone-test to standalone-rest-test 2017-01-05 10:55:47 +01:00
smoke-test-ingest-with-all-dependencies Switch from standalone-test to standalone-rest-test 2017-01-05 10:55:47 +01:00
smoke-test-multinode Switch from standalone-test to standalone-rest-test 2017-01-05 10:55:47 +01:00
smoke-test-plugins Switch from standalone-test to standalone-rest-test 2017-01-05 10:55:47 +01:00
smoke-test-reindex-with-painless Switch from standalone-test to standalone-rest-test 2017-01-05 10:55:47 +01:00
smoke-test-tribe-node Switch from standalone-test to standalone-rest-test 2017-01-05 10:55:47 +01:00
vagrant Bump version to 5.1.2 2016-12-08 16:40:39 -05:00