opensearch-project/OpenSearch

[Remote Translog] Download Translog files concurrently

Open

#10,826 opened on Oct 22, 2023

View on GitHub
 (7 comments) (0 reactions) (1 assignee)Java (1,505 forks)batch import
Storage:Remoteenhancementgood first issue

Repository metrics

Stars
 (8,123 stars)
PR merge metrics
 (Avg merge 5d 9h) (266 merged PRs in 30d)

Description

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

Contributor guide