What process does the sync container and file-system

Asked by Anton on 2020-06-19

After simultaneous replacement of several disks we have lost both replicas for several objects in storage (we have only 2 replicas),
but after long time (> 3 moths) the container listing still contains this objects (but they cannot be downloaded, swift returns 404 code)

What the process should fix it? All auditors works on all nodes.

# swift-recon --md5 --validate-servers
===============================================================================
--> Starting reconnaissance on 9 hosts (object)
===============================================================================
[2020-06-10 09:43:58] Validating server type 'object' on 9 hosts...
9/9 hosts ok, 0 error[s] while checking hosts.
===============================================================================
[2020-06-10 09:43:58] Checking ring md5sums
9/9 hosts matched, 0 error[s] while checking hosts.
===============================================================================
[2020-06-10 09:43:58] Checking swift.conf md5sum
9/9 hosts matched, 0 error[s] while checking hosts.
===============================================================================

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
Anton
Solved:
2020-06-20
Last query:
2020-06-20
Last reply:
2020-06-19
Pete Zaitcev (zaitcev) said : #1

Delete them (swift delete container object). A reselleradmin role can do it without logging in as the account, if necessary.

Anton (hettbox) said : #2

Um, I need clarification: the swift doesn't delete these objects?
It required external audit?

Anton (hettbox) said : #3

I just didn’t fully understand how to find them all.

Tim Burke (1-tim-z) said : #4

No, there's no background process to clean up listings on data loss like that. You might find the swift-account-audit tool useful in identifying lost data, though it needs a set of accounts to check (it can't discover them on its own).

Anton (hettbox) said : #5

ok, thanks!