Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-15190

KEY_NOT_FOUND with max keylen and chunksize=16

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.0
    • 4.0.0
    • forestdb
    • Security Level: Public
    • None
    • Untriaged
    • Unknown
    • ForestDB: Oct 26 - Nov 13

    Description

      added a test that does set/get of a key with FDB_MAX_KEYLEN:
      http://review.couchbase.org/51581

      the set passes but get fails
      308 // set kv
      309 status = fdb_set_kv(db, keybuf, strlen(keybuf), NULL, 0);
      310 TEST_CHK(status == FDB_RESULT_SUCCESS);
      311
      312 // get kv
      313 status = fdb_get_kv(db, keybuf, strlen(keybuf), &rvalue, &rvalue_len);
      314 TEST_CHK(status == FDB_RESULT_SUCCESS);
      (lldb) print status
      (fdb_status) $1 = FDB_RESULT_KEY_NOT_FOUND
      (lldb)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jung-sang Jung-Sang Ahn (Inactive)
            tommie Tommie McAfee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty