Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-7297

Fix search_near assertion

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.1, 4.4.7, 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 2
    • Storage - Ra 2021-05-17

      Issue:
      ./test_poc
      Configuration :collection_count=2,key_count=500,value_size=20000,read_threads=1,duration_seconds=10,cache_size_mb=100,stat_cache_size=(enabled=true,limit=100),rate_per_second=10,enable_tracking=true
      Trace level :0
      program name not set: FAILED: parse_operation_tracking_table/197: exact < 1: Operation not permitted
      program name not set: process aborting
      Aborted (core dumped)

      Analysis:

      In the code, it is expected that the variable exact returned by search_near (workload_validation.h:parse_operation_tracking_table) is >= 0 while its value is set to -1 with the above configuration.

       

       

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: