container-sync: Sync static links similar to how we sync SLOs
This allows static symlinks to be synced before their target. Dynamic symlinks could already be synced even if target object has not been synced, but static links previously required that target object existed before it can be PUT. Now, have container_sync middleware plumb in an override like it does for SLO. Change-Id: I3bfc62b77b247003adcee6bd4d374168bfd6707d
This commit is contained in:
committed by
Tim Burke
parent
9548111e24
commit
26ff2eb1cb
@@ -45,6 +45,12 @@ synchronization key.
|
||||
are being synced, then you should follow the instructions for
|
||||
:ref:`symlink_container_sync_client_config` to be compatible with symlinks.
|
||||
|
||||
Be aware that symlinks may be synced before their targets even if they are
|
||||
in the same container and were created after the target objects. In such
|
||||
cases, a GET for the symlink will fail with a ``404 Not Found`` error. If
|
||||
the target has been overwritten, a GET may produce an older version (for
|
||||
dynamic links) or a ``409 Conflict`` error (for static links).
|
||||
|
||||
--------------------------
|
||||
Configuring Container Sync
|
||||
--------------------------
|
||||
|
||||
Reference in New Issue
Block a user