Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-10558

Add Generation ID to ozone API for a generic optimistic locking approach

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • OM
    • None

    Description

      In https://github.com/apache/ozone/pull/6385 (HDDS-10527) ritesh suggested a more generic approach of a generation ID could be added to the wider Ozone API to make the optimistic locking overwrite idea more flexible and exposed to other applications:

      Why not just introduce an object generation field and expose this API (in the future for applications itself).
      Reference: https://cloud.google.com/storage/docs/json_api/v1/objects/update

      https://github.com/apache/ozone/pull/6385#issuecomment-2010288136

      This idea warrants further exploration as it would be a good addition to Ozone in general.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sodonnell Stephen O'Donnell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: