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

Move away from proto serialization for RocksDB keys in Ozone

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Currently there are a few places where we rely on protobuf serialization to convert the key type to byte array for a RocksDB column family 'key'. However, from the proto documentation it looks like the serialization of proto is unreliable (especially across versions). If the byte[] got from proto serialization changes, this will be a problem since old keys will be unreadable.

      Thanks to arp who helped unearth this problem.

      Attachments

        Activity

          People

            avijayan Aravindan Vijayan
            avijayan Aravindan Vijayan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: