OpenSearch/server
Jason Tedor bf1152fcc6
Use follower primary term when applying operations (#31113)
The primary shard copy on the following has authority of the replication
operations that occur on the following side in cross-cluster
replication. Yet today we are using the primary term directly from the
operations on the leader side. Instead we should be replacing the
primary term on the following side with the primary term of the primary
on the following side. This commit does this by copying the translog
operations with the corrected primary term. This ensures that we use
this primary term while applying the operations on the primary, and when
replicating them across to the replica (where the replica request was
carrying the primary term of the primary shard copy on the follower).
2018-06-06 11:03:57 -04:00
..
cli Add useful message when no input from terminal (#29369) 2018-04-10 21:50:39 -04:00
licenses Upgrade to Lucene-7.4.0-snapshot-0a7c3f462f (#31073) 2018-06-05 14:09:29 -04:00
src Use follower primary term when applying operations (#31113) 2018-06-06 11:03:57 -04:00
build.gradle Build: Split distributions into oss and default 2018-04-20 15:33:57 -07:00