Fix unsigned vs signed error in SQLite statement preventing picking up checkpoint using PALite

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: PALite
    • None
    • Storage Engines, Storage Engines - Foundations
    • None
    • None

      When running tests that have followers picking up a checkpoint, an error is produced:

      $ python3 ../test/suite/run.py page_log=palite layered07
      [pid:3580]: ERROR in test_layered07.test_layered07.test_layered07
      E
      ======================================================================
      ERROR: test_layered07.test_layered07.test_layered07
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/dda/wt/git/wt-15697-configure-pali-all-layered/test/suite/wttest.py", line 283, in _callTestMethod
          method()
        File "/home/dda/wt/git/wt-15697-configure-pali-all-layered/test/suite/test_layered07.py", line 73, in test_layered07
          self.disagg_advance_checkpoint(conn_follow)
        File "/home/dda/wt/git/wt-15697-configure-pali-all-layered/test/suite/helper_disagg.py", line 217, in disagg_advance_checkpoint
          m = self.disagg_get_complete_checkpoint_meta(conn_leader)
        File "/home/dda/wt/git/wt-15697-configure-pali-all-layered/test/suite/helper_disagg.py", line 212, in disagg_get_complete_checkpoint_meta
          (_, _, _, m) = self.disagg_get_complete_checkpoint_ext(conn)
        File "/home/dda/wt/git/wt-15697-configure-pali-all-layered/test/suite/helper_disagg.py", line 204, in disagg_get_complete_checkpoint_ext
          r = page_log.pl_get_complete_checkpoint_ext(session)
      _wiredtiger.WiredTigerError: WT_NOTFOUND: item not found
      
       

      I've traced this to the follower issuing a SQL command and no rows are returned.  Even though the sqlite3 process confirms there are checkpoints in the checkpoints table.

            Assignee:
            Donald Anderson
            Reporter:
            Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: