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

log cursors require connection reopen

    • Type: Icon: Task Task
    • Resolution: Done
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      ddanderson discovered in WT-1637 that log cursors get an error if used without reopening the connection. If I remove the reopen from ex_log.c it also fails in the same way. Test output:

      Traceback (most recent call last):
        File "/Users/dda/wt/git/log-cursor-test/test/suite/test_txn10.py", line 82, in test_log_cursor
          while c.next() == 0:
      WiredTigerError: Cannot allocate memory
      

      ex_log output:

      [1423153290:994677][39669:0x7fff77931180], cursor.next: WT_HOME_LOG_1/WiredTigerLog.4294967295: No such file or directory
      [1423153290:994750][39669:0x7fff77931180], cursor.set_value: memory allocation: Cannot allocate memory
      

      Looks like first error is likely an uninitialized variable somewhere.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: