swift-container-replicator(1)

πŸ’– swift-container-replicator(1) πŸ’–

okay bestie, buckle up, because we're talking about swift-container-replicator β€” the OpenStack Swift container replicator β€” and she is lowkey the glue holding your whole cluster's container data together 🫢


✨ SYNOPSIS ✨

swift-container-replicator [CONFIG] [-h|--help] [-v|--verbose]
[-o|--once]

that's it. that's the whole vibe. you give her a [CONFIG] if you want, and then a couple of lil flags πŸŽ€


🌸 DESCRIPTION 🌸

so like, replication is literally designed to keep the system in a consistent state even when temporary error conditions show up and try to ruin everything β€” think network outages, drive failures, the usual chaos 😭 The replication processes compare local data with each remote copy to make sure they all contain the latest version. No stale copies allowed, periodt πŸ’…

Container replication uses a combination of hashes and shared high water marks to quickly compare subsections of each partition. the way she compares subsections?? efficient queen πŸ‘‘

Replication updates are push based. Container replication pushes missing records over HTTP, or rsyncs whole database files. And the replicator also makes sure data gets removed from the system β€” yes, deletion is part of the job too, it's giving full lifecycle management fr fr.

When a container item is deleted, a tombstone is set as the latest version of the item. The replicator will see that tombstone and ensure that the item is removed from the entire system. ghosted, but make it infrastructure πŸ’€

The options are as follows:

  • -v, --verbose β€” log to console πŸ“
  • -o, --once β€” only run one pass of daemon πŸƒβ™€οΈ
also there's -h / --help up in the synopsis, in case you forgot how to read. we've all been there bestie πŸ™ˆ

πŸ“š DOCUMENTATION πŸ“š

More in depth documentation in regards to swift-container-replicator and also about OpenStack Swift as a whole can be found at https://docs.openstack.org/swift/latest/ β€” go read it, it's giving ✨knowledge✨


πŸ‘€ SEE ALSO πŸ‘€


mwah πŸ’‹ that's the page. go forth and replicate responsibly.

this has been the OpenStack Swift manual, Linux edition, dated 8/26/2011 β€” vintage but iconic, no cap πŸ’–