opensearch-project/OpenSearch

[Remote Translog] Download Translog files concurrently

開放

#10,826 建立於 2023年10月22日

 (7 則留言) (0 個反應) (1 位負責人)Java (1,505 個分叉)batch import
Storage:Remoteenhancementgood first issue

倉庫指標

星標
 (8,123 顆星)
PR 合併指標
 (平均合併 5天 9小時) (30 天內合併 266 個 PR)

描述

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

貢獻者指南