mirror of
https://github.com/pikami/cosmium.git
synced 2026-11-12 21:42:15 +00:00
Add document ETag optimistic concurrency (#16)
* Add ETag optimistic concurrency for document replace Co-authored-by: Pijus Kamandulis <[email protected]> * Expose precondition error code header Co-authored-by: Pijus Kamandulis <[email protected]> * Stop Badger GC before closing datastore Co-authored-by: Pijus Kamandulis <[email protected]> --------- Co-authored-by: Cursor Agent <[email protected]>
This commit is contained in:
1 parent
05e8cd2842
commit
36fd7f48cc
5 files changed
+126
-11
No files matched your search
@@ -4,8 +4,10 @@ const (
|
||||
AIM = "A-Im"
|
||||
Authorization = "authorization"
|
||||
CosmosLsn = "x-ms-cosmos-llsn"
|
||||
ErrorCode = "x-ms-error-code"
|
||||
ETag = "etag"
|
||||
GlobalCommittedLsn = "x-ms-global-committed-lsn"
|
||||
IfMatch = "if-match"
|
||||
IfNoneMatch = "if-none-match"
|
||||
IsBatchRequest = "x-ms-cosmos-is-batch-request"
|
||||
IsQueryPlanRequest = "x-ms-cosmos-is-query-plan-request"
|
||||
|
||||
Reference in new issue
Block a user