Project

General

Profile

Feature #12607

rgw:multisite: build metadata indexes for full sync

Added by Yehuda Sadeh about 5 years ago. Updated about 1 month ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

- try to lock state object
- if cannot lock, wait, retry
- read state, if already 'building indexes', try to remove all existing indexes
- set state to 'building indexes'
- fetch remote list of metadata sections
- for each section, iterate through metadata entries (start from user, then bucket instance, then bucket, then other sections if exist)
- for each entry fetched, store it in a sharded omap, hashed by the same hash used to determin metadata shard
- lock state object periodically, until done

History

#1 Updated by Yehuda Sadeh about 5 years ago

  • Target version set to v9.0.4

#2 Updated by Yehuda Sadeh almost 5 years ago

  • Status changed from New to Fix Under Review

#3 Updated by Patrick Donnelly about 1 month ago

  • Target version deleted (v9.0.4)

Unsetting old target version for open tickets.

Also available in: Atom PDF