Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Unwrap singleton DocValues in global ordinal value source of composite histogram aggregation ([#17740](https://github.com/opensearch-project/OpenSearch/pull/17740))
- Unwrap singleton DocValues in date histogram aggregation. ([#17643](https://github.com/opensearch-project/OpenSearch/pull/17643))
- Introduce 512 byte limit to search and ingest pipeline IDs ([#17786](https://github.com/opensearch-project/OpenSearch/pull/17786))
- Avoid skewed segment replication lag metric ([#17831](https://github.com/opensearch-project/OpenSearch/pull/17831))

### Dependencies
- Bump `com.nimbusds:nimbus-jose-jwt` from 9.41.1 to 10.0.2 ([#17607](https://github.com/opensearch-project/OpenSearch/pull/17607), [#17669](https://github.com/opensearch-project/OpenSearch/pull/17669))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,8 @@ public synchronized void startReplicationLagTimers(ReplicationCheckpoint checkpo
&& replicationGroup.getUnavailableInSyncShards().contains(allocationId) == false
&& shouldSkipReplicationTimer(e.getKey()) == false
&& latestReplicationCheckpoint.isAheadOf(cps.visibleReplicationCheckpoint)
&& cps.checkpointTimers.containsKey(latestReplicationCheckpoint)) {
&& cps.checkpointTimers.containsKey(latestReplicationCheckpoint)
&& cps.checkpointTimers.get(latestReplicationCheckpoint).startTime() == 0) {
cps.checkpointTimers.get(latestReplicationCheckpoint).start();
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1870,6 +1870,8 @@ public void testSegmentReplicationCheckpointTracking() {

tracker.setLatestReplicationCheckpoint(initialCheckpoint);
tracker.startReplicationLagTimers(initialCheckpoint);
// test retry start replication lag timers
tracker.startReplicationLagTimers(initialCheckpoint);
tracker.setLatestReplicationCheckpoint(secondCheckpoint);
tracker.startReplicationLagTimers(secondCheckpoint);
tracker.setLatestReplicationCheckpoint(thirdCheckpoint);
Expand Down
Loading