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

WT_LSN needs to support atomic reads and updates

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.8.0
    • Labels:
      None
    • # Replies:
      15
    • Last comment by Customer:
      true

      Description

      We have a lot of places where we expect the record length and offset to be 4 bytes. We see assertion failures on a lsn comparison failing due to updates to the LSN. Need to document that record/offset limitation.

        Issue Links

          Activity

          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'sueloverso', u'name': u'Susan LoVerso', u'email': u'sue@wiredtiger.com'}

          Message: WT-2215 Use 32-bit LSN file and offsets. Set LSNs as a 64-bit value.
          Branch: mongodb-3.2
          https://github.com/wiredtiger/wiredtiger/commit/7880038b807a530b347e213e9d773960c45c6df0

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'sueloverso', u'name': u'Susan LoVerso', u'email': u'sue@wiredtiger.com'} Message: WT-2215 Use 32-bit LSN file and offsets. Set LSNs as a 64-bit value. Branch: mongodb-3.2 https://github.com/wiredtiger/wiredtiger/commit/7880038b807a530b347e213e9d773960c45c6df0
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'sueloverso', u'name': u'Susan LoVerso', u'email': u'sue@mongodb.com'}

          Message: WT-2215 Make WT_LSN simply a union. Clean up based on review.
          Branch: mongodb-3.2
          https://github.com/wiredtiger/wiredtiger/commit/33d27cc15d7cab2778986230cf8e01421c8536ee

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'sueloverso', u'name': u'Susan LoVerso', u'email': u'sue@mongodb.com'} Message: WT-2215 Make WT_LSN simply a union. Clean up based on review. Branch: mongodb-3.2 https://github.com/wiredtiger/wiredtiger/commit/33d27cc15d7cab2778986230cf8e01421c8536ee
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'}

          Message: Merge pull request #2461 from wiredtiger/WT-2215-union

          WT-2215 Use 32-bit LSN file and offsets. Set LSNs as a 64-bit value.
          Branch: mongodb-3.2
          https://github.com/wiredtiger/wiredtiger/commit/1daaf24ee3e327502a77c53ff53641bdc40d9ffb

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'} Message: Merge pull request #2461 from wiredtiger/ WT-2215 -union WT-2215 Use 32-bit LSN file and offsets. Set LSNs as a 64-bit value. Branch: mongodb-3.2 https://github.com/wiredtiger/wiredtiger/commit/1daaf24ee3e327502a77c53ff53641bdc40d9ffb
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'}

          Message: Merge pull request #2461 from wiredtiger/WT-2215-union

          WT-2215 Use 32-bit LSN file and offsets. Set LSNs as a 64-bit value.
          Branch: mongodb-3.2
          https://github.com/wiredtiger/wiredtiger/commit/1daaf24ee3e327502a77c53ff53641bdc40d9ffb

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'} Message: Merge pull request #2461 from wiredtiger/ WT-2215 -union WT-2215 Use 32-bit LSN file and offsets. Set LSNs as a 64-bit value. Branch: mongodb-3.2 https://github.com/wiredtiger/wiredtiger/commit/1daaf24ee3e327502a77c53ff53641bdc40d9ffb
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'name': u'Ramon Fernandez', u'email': u'ramon@mongodb.com'}

          Message: Import wiredtiger-wiredtiger-2.7.0-650-g5cdd3e3.tar.gz from wiredtiger branch mongodb-3.2

          ref: 07966a4..5cdd3e3

          SERVER-22437 Coverity analysis defect 77704: Redundant test
          SERVER-22438 Coverity analysis defect 77705: Dereference before null check
          SERVER-22676 WiredTiger fails to open databases created by 3.0.0 or 3.0.1
          WT-2130 Improve on-disk page utlilization with random workloads
          WT-2215 WT_LSN needs to support atomic reads and updates
          WT-2295 WT_SESSION.create does a full-scan of the main table
          WT-2352 Allow build and test without requiring lz4
          WT-2356 log scan advances to next log file on partially written record
          WT-2363 Remove built in support for bzip2
          WT-2368 row-store can pass garbage keys to collator functions
          WT-2369 Use C compiler to detect headers instead of C++ compiler
          WT-2371 parent split cannot access the page after page-index swap
          WT-2372 WiredTiger windows builder fails with C4005 against the "inline" macro
          WT-2377 WTPERF doesn't compile in Windows under MSVC
          WT-2378 Tasks time out on LSM builder
          WT-2397 Cursor traversal from end of the tree skips records.
          WT-60 Big endian port
          Branch: v3.2
          https://github.com/mongodb/mongo/commit/f77630a9e971cae1f921292ea31d9d40a4b096b8

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'name': u'Ramon Fernandez', u'email': u'ramon@mongodb.com'} Message: Import wiredtiger-wiredtiger-2.7.0-650-g5cdd3e3.tar.gz from wiredtiger branch mongodb-3.2 ref: 07966a4..5cdd3e3 SERVER-22437 Coverity analysis defect 77704: Redundant test SERVER-22438 Coverity analysis defect 77705: Dereference before null check SERVER-22676 WiredTiger fails to open databases created by 3.0.0 or 3.0.1 WT-2130 Improve on-disk page utlilization with random workloads WT-2215 WT_LSN needs to support atomic reads and updates WT-2295 WT_SESSION.create does a full-scan of the main table WT-2352 Allow build and test without requiring lz4 WT-2356 log scan advances to next log file on partially written record WT-2363 Remove built in support for bzip2 WT-2368 row-store can pass garbage keys to collator functions WT-2369 Use C compiler to detect headers instead of C++ compiler WT-2371 parent split cannot access the page after page-index swap WT-2372 WiredTiger windows builder fails with C4005 against the "inline" macro WT-2377 WTPERF doesn't compile in Windows under MSVC WT-2378 Tasks time out on LSM builder WT-2397 Cursor traversal from end of the tree skips records. WT-60 Big endian port Branch: v3.2 https://github.com/mongodb/mongo/commit/f77630a9e971cae1f921292ea31d9d40a4b096b8

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 17 weeks, 3 days ago
                Date of 1st Reply: