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

cache-operations should be an enum, not a set of flags.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.7.0
    • Labels:
      None
    • # Replies:
      2
    • Last comment by Customer:
      true

      Description

      The cache operations:

      WT_SYNC_CHECKPOINT,
      WT_SYNC_CLOSE,
      WT_SYNC_DISCARD,
      WT_SYNC_WRITE_LEAVES
      

      should be an enum, not flags.

        Issue Links

          Activity

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

          Author:

          {u'username': u'keithbostic', u'name': u'Keith Bostic', u'email': u'keith@wiredtiger.com'}

          Message: WT-2206: The cache operations, WT_SYNC_CHECKPOINT, WT_SYNC_CLOSE,
          WT_SYNC_DISCARD, WT_SYNC_WRITE_LEAVES should be an enum, not flags.
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/db0aac63fc4cb56ba4744c8d7bf1ec0339f14953

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'keithbostic', u'name': u'Keith Bostic', u'email': u'keith@wiredtiger.com'} Message: WT-2206 : The cache operations, WT_SYNC_CHECKPOINT, WT_SYNC_CLOSE, WT_SYNC_DISCARD, WT_SYNC_WRITE_LEAVES should be an enum, not flags. Branch: develop https://github.com/wiredtiger/wiredtiger/commit/db0aac63fc4cb56ba4744c8d7bf1ec0339f14953
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'agorrod', u'name': u'Alex Gorrod', u'email': u'alexander.gorrod@mongodb.com'}

          Message: Merge pull request #2297 from wiredtiger/wt-2206-cache-op-flags

          WT-2206: change cache operations from flags to an enum.
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/179d4d0c12e9b8470f8590b8a72c7dab7a3bf645

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'agorrod', u'name': u'Alex Gorrod', u'email': u'alexander.gorrod@mongodb.com'} Message: Merge pull request #2297 from wiredtiger/wt-2206-cache-op-flags WT-2206 : change cache operations from flags to an enum. Branch: develop https://github.com/wiredtiger/wiredtiger/commit/179d4d0c12e9b8470f8590b8a72c7dab7a3bf645

            People

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

              Dates

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