Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2274 Avoid buffer copying in Codec
  3. HDDS-8707

Avoid linear search in DBDefinition implementations

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • 1.4.0
    • db

    Description

      DBDefinition declares the following method returning an array.

      public DBColumnFamilyDefinition[] getColumnFamilies();
      

      It forces the callers to perform a linear search for looking up DBColumnFamilyDefinition by names.

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: