mirror of
https://github.com/pgsty/minio.git
synced 2026-10-31 04:50:40 +03:00
docs: point the multi-pool lock follow-up at pgsty/silo#133
Fill the tracked-issue number into the scope comments of the single erasure set Object Lock reconcile added for SSE-C replica retransmit. No behaviour change. Refs pgsty/silo#120 Refs pgsty/silo#133 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L7qJqWwy8oFA6aCXWRzXQe Signed-off-by: Feng Ruohang <rh@vonng.com>
This commit is contained in:
@@ -1164,7 +1164,7 @@ func (er erasureObjects) CompleteMultipartUpload(ctx context.Context, bucket str
|
|||||||
//
|
//
|
||||||
// Scope: correct for a single erasure set. A multi-pool deployment (duplicate
|
// Scope: correct for a single erasure set. A multi-pool deployment (duplicate
|
||||||
// versions across pools, ModTime ties, cross-pool lock authority) is out of
|
// versions across pools, ModTime ties, cross-pool lock authority) is out of
|
||||||
// scope and tracked in pgsty/silo#TBD-multipool-lock.
|
// scope and tracked in pgsty/silo#133.
|
||||||
if opts.ReplicaLockReconcile && crypto.SSEC.IsEncrypted(fi.Metadata) {
|
if opts.ReplicaLockReconcile && crypto.SSEC.IsEncrypted(fi.Metadata) {
|
||||||
// A persisted upload records the null version as an empty VersionID; look
|
// A persisted upload records the null version as an empty VersionID; look
|
||||||
// it up as the null version so the reconcile reads the addressed version's
|
// it up as the null version so the reconcile reads the addressed version's
|
||||||
|
|||||||
@@ -1305,7 +1305,7 @@ func (er erasureObjects) putObject(ctx context.Context, bucket string, object st
|
|||||||
//
|
//
|
||||||
// Scope: correct for a single erasure set. A multi-pool deployment
|
// Scope: correct for a single erasure set. A multi-pool deployment
|
||||||
// (duplicate versions across pools, ModTime ties, cross-pool lock
|
// (duplicate versions across pools, ModTime ties, cross-pool lock
|
||||||
// authority) is out of scope and tracked in pgsty/silo#TBD-multipool-lock.
|
// authority) is out of scope and tracked in pgsty/silo#133.
|
||||||
if opts.ReplicaLockReconcile && err == nil {
|
if opts.ReplicaLockReconcile && err == nil {
|
||||||
reconcileStoredObjectLock(opts.UserDefined, storedObjectLockState(obj.UserDefined))
|
reconcileStoredObjectLock(opts.UserDefined, storedObjectLockState(obj.UserDefined))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ type ObjectOptions struct {
|
|||||||
ReplicationSourceTaggingTimestamp time.Time // set if MinIOSourceTaggingTimestamp received
|
ReplicationSourceTaggingTimestamp time.Time // set if MinIOSourceTaggingTimestamp received
|
||||||
ReplicationSourceLegalholdTimestamp time.Time // set if MinIOSourceObjectLegalholdTimestamp received
|
ReplicationSourceLegalholdTimestamp time.Time // set if MinIOSourceObjectLegalholdTimestamp received
|
||||||
ReplicationSourceRetentionTimestamp time.Time // set if MinIOSourceObjectRetentionTimestamp received
|
ReplicationSourceRetentionTimestamp time.Time // set if MinIOSourceObjectRetentionTimestamp received
|
||||||
ReplicaLockReconcile bool // set for a trusted SSE-C replica full write/completion: re-order Object Lock against the destination version read under the write lock (single erasure set; see pgsty/silo#TBD-multipool-lock)
|
ReplicaLockReconcile bool // set for a trusted SSE-C replica full write/completion: re-order Object Lock against the destination version read under the write lock (single erasure set; see pgsty/silo#133)
|
||||||
DeletePrefix bool // set true to enforce a prefix deletion, only application for DeleteObject API,
|
DeletePrefix bool // set true to enforce a prefix deletion, only application for DeleteObject API,
|
||||||
DeletePrefixObject bool // set true when object's erasure set is resolvable by object name (using getHashedSetIndex)
|
DeletePrefixObject bool // set true when object's erasure set is resolvable by object name (using getHashedSetIndex)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user