Object Storage

File locking feature

rakchd
1,117 Views

Does StorageGRID support locking so that multiple users cannot update the same document

1 ACCEPTED SOLUTION

elementx
1,066 Views

There's no locking and the S3 API doesn't let users make partial updates.

 

Multiple users cannot update the same document because every "update" of a document is really a new version of the entire document. The second updater overwrites the entire object with first updater's modifications.

 

And the second updater may be the the person who GET'ed the object first: "last writer wins".

 

 

View solution in original post

2 REPLIES 2

elementx
1,067 Views

There's no locking and the S3 API doesn't let users make partial updates.

 

Multiple users cannot update the same document because every "update" of a document is really a new version of the entire document. The second updater overwrites the entire object with first updater's modifications.

 

And the second updater may be the the person who GET'ed the object first: "last writer wins".

 

 

MoS1
797 Views

Depending on what version of GRID you are on, there is a new feature called "S3 object lock"  this is available in release 11.5 and above. I've included a link discussing S3 object lock and the limitation user have with files:

 

https://docs.netapp.com/us-en/storagegrid-115/tenant/using-s3-object-lock.html

Public