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

Imported checkpoint differed from original

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      The import/smoke.sh csuite test captured a failure that the imported checkpoint differed from the original checkpoint, on ocelot-aws.
      http://build.wiredtiger.com:8080/job/wiredtiger-test-check-long/1302/console

      FAIL: import/smoke.sh
      =====================
      
      t: process 16560
         1: file, row-store (138 seconds)
      
      (...)
      
      original checkpoint
      checkpoint=(mine.4=(addr="01e303b2cc81e419475abde306a77bb1e4885211bbe3054634a9e49e7a2024808080e40acd1bc0e4067f4bc0",order=2,time=1566792972,size=109014528,newest_durable_ts=0,oldest_start_ts=0,oldest_start_txn=0,newest_stop_ts=-1,newest_stop_txn=-11,write_gen=107024),WiredTigerCheckpoint.8=(addr="01808080808080b1b0e4ee08ee8a80b1e4a759e06ee40d8fb9c080",order=8,time=1566793049,size=0,newest_durable_ts=0,oldest_start_ts=0,oldest_start_txn=0,newest_stop_ts=-1,newest_stop_txn=-11,write_gen=495842))
      
      imported checkpoint
      checkpoint=(mine.4=(addr="01e303b2cc81e419475abde306a77bb1e4885211bbe3054634a9e49e7a2024808080e40acd1bc0e4067f4bc0",order=2,time=1566792972,size=109014528,newest_durable_ts=0,oldest_start_ts=0,oldest_start_txn=0,newest_stop_ts=-1,newest_stop_txn=-11,write_gen=107024),WiredTigerCheckpoint.7=(addr="01808080808080c07db0e4249e8f8bc04cb1e4a759e06ee40d8fb9c080",order=7,time=1566793046,size=0,newest_durable_ts=0,oldest_start_ts=0,oldest_start_txn=0,newest_stop_ts=-1,newest_stop_txn=-11,write_gen=495842))
      
      comparing the original and imported checkpoints
      WT_TEST.import/ckpt.orig WT_TEST.import/ckpt.import differ: byte 290, line 1
      FAIL import/smoke.sh (exit status: 1) 

      The metadata dump: 

      dumping the original metadata
      file:wt
      	                 mine.4: Mon Aug 26 04:16:12 2019 (size 103 MB)
      		file-size: 172 MB, checkpoint-size: 103 MB
      
      		          offset, size, checksum
      		root    : 128326144, 512, 424114941 (0x19477afd)
      		alloc   : 227506176, 25088, 2287088123 (0x885231fb)
      		discard : 0, 0, 0 (0)
      		avail   : 181201408, 20992, 2658812004 (0x9e7a4064)
      
      	 WiredTigerCheckpoint.8: Mon Aug 26 04:17:29 2019 (size 0 B)
      		file-size: 216 MB, checkpoint-size: 0 B
      
      		          offset, size, checksum
      		root    : 0, 0, 0 (0)
      		alloc   : 0, 0, 0 (0)
      		discard : 512, 25088, 2807693486 (0xa75a00ae)
      		avail   : 25600, 24576, 3993571018 (0xee090eca)
      access_pattern_hint=none,allocation_size=512,app_metadata=,assert=(commit_timestamp=none,durable_timestamp=none,read_timestamp=none),block_allocation=best,block_compressor=,cache_resident=false,checkpoint=(mine.4=(addr="01e303b2cc81e419475abde306a77bb1e4885211bbe3054634a9e49e7a2024808080e40acd1bc0e4067f4bc0",order=2,time=1566792972,size=109014528,newest_durable_ts=0,oldest_start_ts=0,oldest_start_txn=0,newest_stop_ts=-1,newest_stop_txn=-11,write_gen=107024),WiredTigerCheckpoint.8=(addr="01808080808080b1b0e4ee08ee8a80b1e4a759e06ee40d8fb9c080",order=8,time=1566793049,size=0,newest_durable_ts=0,oldest_start_ts=0,oldest_start_txn=0,newest_stop_ts=-1,newest_stop_txn=-11,write_gen=495842)),checkpoint_lsn=(1,80978560),checksum="on",collator=,columns=,dictionary=0,encryption=(keyid=,name=),format=btree,huffman_key=,huffman_value=,id=2,ignore_in_memory_cache_size=false,internal_item_max=0,internal_key_max=1560,internal_key_truncate=true,internal_page_max=65536,key_format=u,key_gap=1,leaf_item_max=0,leaf_key_max=92,leaf_page_max=4096,leaf_value_max=40960,log=(enabled=true),memory_page_image_max=0,memory_page_max=9437184,os_cache_dirty_max=0,os_cache_max=0,prefix_compression=false,prefix_compression_min=2,split_deepen_min_child=0,split_deepen_per_child=0,split_pct=80,value_format=u,version=(major=1,minor=1)
      
      dumping the imported metadata
      file:yyy
      	                 mine.4: Mon Aug 26 04:16:12 2019 (size 103 MB)
      		file-size: 172 MB, checkpoint-size: 103 MB
      
      		          offset, size, checksum
      		root    : 128326144, 512, 424114941 (0x19477afd)
      		alloc   : 227506176, 25088, 2287088123 (0x885231fb)
      		discard : 0, 0, 0 (0)
      		avail   : 181201408, 20992, 2658812004 (0x9e7a4064)
      
      	 WiredTigerCheckpoint.7: Mon Aug 26 04:17:26 2019 (size 0 B)
      		file-size: 216 MB, checkpoint-size: 0 B
      
      		          offset, size, checksum
      		root    : 0, 0, 0 (0)
      		alloc   : 0, 0, 0 (0)
      		discard : 72192, 25088, 2807693486 (0xa75a00ae)
      		avail   : 97280, 24576, 614379467 (0x249eafcb)
      access_pattern_hint=none,allocation_size=512,app_metadata=,assert=(commit_timestamp=none,durable_timestamp=none,read_timestamp=none),block_allocation=best,block_compressor=,cache_resident=false,checkpoint=(mine.4=(addr="01e303b2cc81e419475abde306a77bb1e4885211bbe3054634a9e49e7a2024808080e40acd1bc0e4067f4bc0",order=2,time=1566792972,size=109014528,newest_durable_ts=0,oldest_start_ts=0,oldest_start_txn=0,newest_stop_ts=-1,newest_stop_txn=-11,write_gen=107024),WiredTigerCheckpoint.7=(addr="01808080808080c07db0e4249e8f8bc04cb1e4a759e06ee40d8fb9c080",order=7,time=1566793046,size=0,newest_durable_ts=0,oldest_start_ts=0,oldest_start_txn=0,newest_stop_ts=-1,newest_stop_txn=-11,write_gen=495842)),checkpoint_lsn=,checksum="on",collator=,columns=,dictionary=0,encryption=(keyid=,name=),format=btree,huffman_key=,huffman_value=,id=4,ignore_in_memory_cache_size=false,internal_item_max=0,internal_key_max=1560,internal_key_truncate=true,internal_page_max=65536,key_format=u,key_gap=1,leaf_item_max=0,leaf_key_max=92,leaf_page_max=4096,leaf_value_max=40960,log=(enabled=true),memory_page_image_max=0,memory_page_max=9437184,os_cache_dirty_max=0,os_cache_max=0,prefix_compression=false,prefix_compression_min=2,split_deepen_min_child=0,split_deepen_per_child=0,split_pct=80,value_format=u,version=(major=1,minor=1) 

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: