Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Object Storage
    • Overview
    • Bucket
    • Object
    • Bucket versioning
    • Object lock
    • Partial object updates
    • Encryption
    • Object lifecycles
    • CORS
    • Hosting static websites
    • Pre-signed URLs
    • Multipart upload
    • Access control list (ACL)
    • Bucket policy
    • Uploading files via an HTML form
    • Storage class
    • Bucket actions logging mechanism
    • Backups
    • TLS protocol
    • Labels
    • S3 Select query language
    • Quotas and limits
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Bucket logs
  • Release notes
  • FAQ

In this article:

  • Concurrent object updates
  • Conflict resolution
  • Specification
  1. Concepts
  2. Partial object updates

Partial object updates

Written by
Yandex Cloud
Updated at March 19, 2025
  • Concurrent object updates
  • Conflict resolution
  • Specification

Object Storage supports partial updating and appending of objects data in a bucket.

Note

Basic S3 API operations do not include partial object update. This feature is supported for buckets with versioning disabled.

With partial updates, you can store data (e.g., logs) in a bucket as a single file and append data to it from time to time.

This also simplifies large file processing. For example, to change one byte of information in a large file, you can use:

  • Standard get and upload S3 API methods by fully downloading and uploading the object back to the storage.
  • Patch method by uploading only the changed/new part of the file to the storage.

Such partial overwrite streamlines your Object Storage operations and reduces costs.

With partial updates, the following will be overwritten on the server side:

  • Object as a whole, if initially uploaded using the PUT method.
  • Object components being updated, if the object was initially uploaded in parts.

This feature is implemented as a patch method and is supported in GeeseFS.

GeeseFS is the recommended tool for partial updates of objects in a bucket.

You can also directly send patch requests to the Object Storage API, or extend the set of AWS SDK methods using the patch method specification.

Concurrent object updatesConcurrent object updates

Object Storage supports concurrent partial object updates.

With a partial update, each parallel request runs on a dedicated object snapshot. Therefore, different update requests for the same object are processed independently.

All changes during parallel requests are applied atomically.

Conflict resolutionConflict resolution

A conflict resolution feature is available for concurrent partial updates.

In case fo success, the more recent update is applied.

The number of overwrite retries on the server side is limited. If the server fails to resolve conflicts, the user gets the ConcurrentUpdatesPatchConflict error.

SpecificationSpecification

"PatchObject":{
  "name":"PatchObject",
  "http":{
    "method":"PATCH",
    "requestUri":"/{Bucket}/{Key+}"
  },
  "input":{"shape":"PatchObjectRequest"},
  "output":{"shape":"PatchObjectOutput"},
  "httpChecksum":{
    "requestAlgorithmMember":"ChecksumAlgorithm",
    "requestChecksumRequired":false
  }
},
"PatchAppendPartSize":{"type": "integer"},
"PatchedObjectInfo":{
  "type":"structure",
  "members":{
    "ETag":{"shape":"ETag"},
    "LastModified":{"shape":"LastModified"}
  }
},
"PatchObjectOutput":{
  "type":"structure",
  "members":{
    "Object":{"shape":"PatchedObjectInfo"}
  }
},
"PatchObjectRequest":{
  "type":"structure",
  "required":[
    "Bucket",
    "Key",
    "ContentRange"
  ],
  "members":{
    "Body":{
      "shape":"Body",
      "streaming":true
    },
    "Bucket":{
      "shape":"BucketName",
      "location":"uri",
      "locationName":"Bucket"
    },
    "ContentLength":{
      "shape":"ContentLength",
      "location":"header",
      "locationName":"Content-Length"
    },
    "ContentMD5":{
      "shape":"ContentMD5",
      "location":"header",
      "locationName":"Content-MD5"
    },
    "ContentRange":{
      "shape":"ContentRange",
      "location":"header",
      "locationName":"Content-Range"
    },
    "IfMatch":{
      "shape":"IfMatch",
      "location":"header",
      "locationName":"If-Match"
    },
    "IfUnmodifiedSince":{
      "shape":"IfUnmodifiedSince",
      "location":"header",
      "locationName":"If-Unmodified-Since"
    },
    "Key":{
      "shape":"ObjectKey",
      "location":"uri",
      "locationName":"Key"
    },
    "PatchAppendPartSize":{
      "shape":"PatchAppendPartSize",
      "location":"header",
      "locationName":"X-Yc-S3-Patch-Append-Part-Size"
    }
  },
  "payload":"Body"
},

Was the article helpful?

Previous
Object lock
Next
Encryption
Yandex project
© 2025 Yandex.Cloud LLC