52c80d652d
When looking at containers and accounts it's sometimes nice to know who they've been replicating with. This patch adds a `--sync|-s` option to swift-{container|account}-info which will also dump the incoming and outgoing sync tables: $ swift-container-info /srv/node3/sdb3/containers/294/624/49b9ff074c502ec5e429e7af99a30624/49b9ff074c502ec5e429e7af99a30624.db -s Path: /AUTH_test/new Account: AUTH_test Container: new Deleted: False Container Hash: 49b9ff074c502ec5e429e7af99a30624 Metadata: Created at: 2022-02-16T05:34:05.988480 (1644989645.98848) Put Timestamp: 2022-02-16T05:34:05.981320 (1644989645.98132) Delete Timestamp: 1970-01-01T00:00:00.000000 (0) Status Timestamp: 2022-02-16T05:34:05.981320 (1644989645.98132) Object Count: 1 Bytes Used: 7 Storage Policy: default (0) Reported Put Timestamp: 1970-01-01T00:00:00.000000 (0) Reported Delete Timestamp: 1970-01-01T00:00:00.000000 (0) Reported Object Count: 0 Reported Bytes Used: 0 Chexor: 962368324c2ca023c56669d03ed92807 UUID: f33184e7-56d5-4c74-9d2e-5417c187d722-sdb3 X-Container-Sync-Point2: -1 X-Container-Sync-Point1: -1 No system metadata found in db file No user metadata found in db file Sharding Metadata: Type: root State: unsharded Incoming Syncs: Sync Point Remote ID Updated At 1 ce7268a1-f5d0-4b83-b993-af17b602a0ff-sdb1 2022-02-16T05:38:22.000000 (1644989902) 1 2af5abc0-7f70-4e2f-8f94-737aeaada7f4-sdb4 2022-02-16T05:38:22.000000 (1644989902) Outgoing Syncs: Sync Point Remote ID Updated At Partition 294 Hash 49b9ff074c502ec5e429e7af99a30624 As a follow up to the device in DB ID patch we can see that the replicas at sdb1 and sdb4 have replicated with this node. Change-Id: I23d786e82c6710bea7660a9acf8bbbd113b5b727 |
||
---|---|---|
.. | ||
swift-account-audit | ||
swift-account-auditor | ||
swift-account-info | ||
swift-account-reaper | ||
swift-account-replicator | ||
swift-account-server | ||
swift-config | ||
swift-container-auditor | ||
swift-container-info | ||
swift-container-reconciler | ||
swift-container-replicator | ||
swift-container-server | ||
swift-container-sharder | ||
swift-container-sync | ||
swift-container-updater | ||
swift-dispersion-populate | ||
swift-dispersion-report | ||
swift-drive-audit | ||
swift-form-signature | ||
swift-get-nodes | ||
swift-init | ||
swift-object-auditor | ||
swift-object-expirer | ||
swift-object-info | ||
swift-object-reconstructor | ||
swift-object-relinker | ||
swift-object-replicator | ||
swift-object-server | ||
swift-object-updater | ||
swift-oldies | ||
swift-orphans | ||
swift-proxy-server | ||
swift-recon | ||
swift-recon-cron | ||
swift-reconciler-enqueue | ||
swift-ring-builder | ||
swift-ring-builder-analyzer | ||
swift-ring-composer |