OpenSearch: [BUG] Breaking changes for CCR plugin in OS 2.0

Describe the bug CCR depends on IndexShard(getHistoryOperations) to retrieve translog operations for leader index. In 2.0, this method is removed in this PR: https://github.com/opensearch-project/OpenSearch/pull/2077

 public Translog.Snapshot getHistoryOperations(String reason, Engine.HistorySource source, long startingSeqNo, long endSeqNo)

Expected behavior

  • Please provide replacement for this method in 2.0 to retrieve operations based on history-source.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 45 (27 by maintainers)

Most upvoted comments

@saikaranam-amazon Care to add a summary with links to various PRs and close?

For 2.0, we have added the deprecated translog operations under the engine and PR(https://github.com/opensearch-project/OpenSearch/pull/2886) is merged for 2.0. Based on the further discussion, we have following issues for different tracks:

Please continue the relevant discussions in the above issues.

Closing this one.

@saratvemulapalli What was this deprecated for?