Skip to content

Conversation

@opensearch-trigger-bot
Copy link
Contributor

Backport 6130d6f from #438

Summary : We need to update followerCheckpoint after writing to the follower index.
Currently, we are not waiting for the writes and updating it with soon-to-be stale values

Signed-off-by: Gaurav Bafna <gbbafna@amazon.com>
(cherry picked from commit 6130d6f)
@opensearch-trigger-bot opensearch-trigger-bot bot requested a review from a team July 4, 2022 06:52
@codecov-commenter
Copy link

Codecov Report

Merging #440 (c974632) into 2.0 (2243d97) will decrease coverage by 2.30%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                2.0     #440      +/-   ##
============================================
- Coverage     74.57%   72.26%   -2.31%     
+ Complexity     1001      977      -24     
============================================
  Files           141      141              
  Lines          4562     4565       +3     
  Branches        504      504              
============================================
- Hits           3402     3299     -103     
- Misses          843      943     +100     
- Partials        317      323       +6     
Impacted Files Coverage Δ
...rch/replication/task/shard/ShardReplicationTask.kt 73.72% <100.00%> (-2.19%) ⬇️
...search/replication/task/shard/TranslogSequencer.kt 86.36% <100.00%> (+0.99%) ⬆️
...cation/action/changes/TransportGetChangesAction.kt 63.49% <0.00%> (-25.40%) ⬇️
...arch/replication/metadata/UpdateMetadataRequest.kt 77.27% <0.00%> (-22.73%) ⬇️
...ch/replication/task/index/IndexReplicationState.kt 51.66% <0.00%> (-15.00%) ⬇️
...ication/action/setup/TransportSetupChecksAction.kt 59.52% <0.00%> (-14.29%) ⬇️
...ication/seqno/RemoteClusterRetentionLeaseHelper.kt 80.00% <0.00%> (-11.67%) ⬇️
...tion/repository/RemoteClusterMultiChunkTransfer.kt 90.24% <0.00%> (-9.76%) ⬇️
.../replication/metadata/store/ReplicationMetadata.kt 62.96% <0.00%> (-8.65%) ⬇️
...action/stop/TransportStopIndexReplicationAction.kt 68.00% <0.00%> (-6.67%) ⬇️
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2243d97...c974632. Read the comment docs.

@gbbafna gbbafna merged commit f650bed into 2.0 Jul 7, 2022
@github-actions github-actions bot deleted the backport/backport-438-to-2.0 branch July 7, 2022 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants