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

DB Scanner should allow iteration from specific key.

    XMLWordPrintableJSON

Details

    Description

      The current RocksDB scanner command allows only a simple length parameter to limit the number of records to scan in a specific col family. In the case of a huge table like keyTable or containers, while we are looking for a specific entry, the search is needlessly large and explorative (since we do not know the 'index' of the key)

      A startKey param would be useful.

       ozone debug ldb --db=<> scan --column_family=<> --length=<> --startKey=<>

      Attachments

        Issue Links

          Activity

            People

              aryangupta1998 Aryan Gupta
              aryangupta1998 Aryan Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: