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

Fix incorrect duration_seconds value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.1 Required
    • Component/s: None
    • Labels:
      None

      Description

      The following error shows when duration_seconds is set to a lower value than the test actually takes to complete:

      [1619351276:740599][4163:0x7f8810d58700], file:WiredTigerHS.wt, WT_CURSOR.close: __curfile_close, 484: (session)->id == 0 || (session)->api_tid == 0 || (session)->api_tid == __tmp_api_tid
      [1619351276:740633][4163:0x7f8810d58700], file:WiredTigerHS.wt, WT_CURSOR.close: __wt_abort, 28: aborting WiredTiger library 

      Issue can be reproduced using the following configuration:

      duration_seconds=2,cache_size_mb=5000,enable_logging=true,runtime_monitor=(rate_per_second=3,stat_cache_size=(enabled=true,limit=100)),timestamp_manager=(enabled=true,oldest_lag=1,stable_lag=1),workload_generator=(collection_count=1,key_count=500,key_size=10,ops_per_transaction=(min=5,max=50),read_threads=1,update_threads=1,value_size=200000),workload_tracking=(enabled=true) 

      And the following command:

      ./run -t poc_test 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              etienne.petrel Etienne Petrel
              Reporter:
              etienne.petrel Etienne Petrel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: