Project

General

Profile

Feature #12607

rgw:multisite: build metadata indexes for full sync

Added by Yehuda Sadeh over 4 years ago. Updated over 4 years 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 over 4 years ago

  • Target version set to v9.0.4

#2 Updated by Yehuda Sadeh over 4 years ago

  • Status changed from New to Fix Under Review

Also available in: Atom PDF