-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Remote Store] Support refresh level durability #5251
Comments
Currently, I am thinking of using the same flow that segment replication uses when replica receives the publish checkpoint. OpenSearch/server/src/main/java/org/opensearch/index/store/Store.java Lines 869 to 884 in b43e985
|
@sachinpkale Why do we need to support refresh level durability with node-node replication? Could remote store use commit level durability until we implement remote store as the source of replication for segrep? There is a lot of overlap here with that effort. My concern here is that remote store now is coupled to segrep's node-node implementation, and this will add further network load on primaries that have to copy to remote store & all replicas. I think this is ok to do if we are using it as the first half of using remote store as a src of replication, but doesn't make much sense with node-node. note also on the commitSegmentInfos method you linked above - We can skip this commit on replicas entirely if those files are already in remote store & we can recover from it. Edit -Added more context. |
Is your feature request related to a problem? Please describe.
_remotestore/_restore
API only supports commit level durability.The text was updated successfully, but these errors were encountered: