opensearch-project/OpenSearch

[Remote Translog] Download Translog files concurrently

オープン

#10,826 opened on 2023/10/22

 (7 件のコメント) (0 件のリアクション) (1 人の担当者)Java (1,505 件のフォーク)batch import
Storage:Remoteenhancementgood first issue

Repository metrics

Stars
 (8,123 個のスター)
PR merge metrics
 (平均マージ 5d 9h) (30d で 266 merged PRs)

説明

In failover/primary relocations, we download translog from remote. We need to make it concurrent (still bounded) on a separate threadpool, may be translog_transfer to make that faster . We can use concurrent segment download as a prior work to do the same.

Code pointer : https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/index/translog/RemoteFsTranslog.java#L205

Concurrent Segment download : https://github.com/opensearch-project/OpenSearch/pull/10519

コントリビューターガイド