Skip to content

[Remote Segments] Avoid segments metadata upload if no difference in local store and remote store #7443

@ashking94

Description

@ashking94

Is your feature request related to a problem? Please describe.
Need to look at 2 issues -

  1. Currently in afterRefresh method of RemoteStoreRefreshListener, we upload metadata file even if the local and remote store has not difference in segment files. We need to skip the upload if there are no differences in segment files on local and remote store.
  2. Noticing that the afterRefresh method gets invoked twice - once with didRefresh true and other time with false. This leads to minSeqNoToKeep getting set correctly in the second run. Need to fix this as well.

Metadata

Metadata

Assignees

Labels

Storage:DurabilityIssues and PRs related to the durability frameworkenhancementEnhancement or improvement to existing feature or requestv2.8.0'Issues and PRs related to version v2.8.0'

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions