XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • Ozone Manager
    • None

    Description

      We should not persist LEGACY bucket layout to the bucket table in RocksDB. This should help simplify upgrade flow in later tasks.

      We should only be persisting FSO and OBS layouts to the bucket table.

       

      public class OmBucketInfoCodec implements Codec<OmBucketInfo> {
      
        @Override
        public byte[] toPersistedFormat(OmBucketInfo object) throws IOException {
          Preconditions
              .checkNotNull(object, "Null object can't be converted to byte array.");
          return object.getProtobuf().toByteArray();
        } 

      Attachments

        Activity

          People

            jyotindersingh Jyotinder Singh
            jyotindersingh Jyotinder Singh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: