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

Remove RocksDatabase.keyMayExist and the value.length check

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • 1.4.0
    • db

    Description

      • RocksDatabase.keyMayExist should be removed since it should always use keyMayExistHolder.
      • In RDBTable.isExist, it should not check value.length > 0 since it incorrectly excludes the zero size byte array case.

      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: