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

session_close updates the connection's default session information

    Details

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

      Description

      The code in WT_SESSION.close does work using the WT_CONNECTION_IMPL default session, but that means the API_END_RET_NOTFOUND_MAP session cleanup happens in the context of the default session, which isn't correct.

        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-2248: The code in WT_SESSION.close does work using the WT_CONNECTION_IMPL
          default session, but that means the API_END_RET_NOTFOUND_MAP session cleanup
          happens in the context of the default session, which isn't correct.
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/6d7d76f65d47448c22775aea7006784cdde4d46b

          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-2248 : The code in WT_SESSION.close does work using the WT_CONNECTION_IMPL default session, but that means the API_END_RET_NOTFOUND_MAP session cleanup happens in the context of the default session, which isn't correct. Branch: develop https://github.com/wiredtiger/wiredtiger/commit/6d7d76f65d47448c22775aea7006784cdde4d46b
          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 #2344 from wiredtiger/wt-2248-session-close

          WT-2248: WT_SESSION.close is updating WT_CONNECTION_IMPL.default_session
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/9f2e4f395e739d3e207fa61f04b541161903abce

          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 #2344 from wiredtiger/wt-2248-session-close WT-2248 : WT_SESSION.close is updating WT_CONNECTION_IMPL.default_session Branch: develop https://github.com/wiredtiger/wiredtiger/commit/9f2e4f395e739d3e207fa61f04b541161903abce
          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: Import wiredtiger-wiredtiger-mongodb-3.2-rc4-41-g8326df6.tar.gz from wiredtiger branch mongodb-3.2

          ref: b65381f..8326df6

          4c49948 WT-2244 Trigger in-memory splits sooner.
          9f2e4f3 WT-2248 WT_SESSION.close is updating WT_CONNECTION_IMPL.default_session.
          a6da10e SERVER-21553 Enable fast-path truncate after splits.
          39dfd21 WT-2243 Don't keep transaction IDs pinned for reading from checkpoints.
          4e1844c WT-2230 multi-split error path.
          cace179 WT-2228 avoid unnecessary raw-compression calls.
          890ee34 SERVER-21619 Don't do internal page splits after a tree is marked DEAD.
          6c7338f WT-2241 Use a lock to protect transaction ID allocation.
          978c237 WT-2234 Coverity analysis warnings.
          Branch: master
          https://github.com/mongodb/mongo/commit/e7181b542b25981db42f74cdaee4e7fc323d3e9d

          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: Import wiredtiger-wiredtiger-mongodb-3.2-rc4-41-g8326df6.tar.gz from wiredtiger branch mongodb-3.2 ref: b65381f..8326df6 4c49948 WT-2244 Trigger in-memory splits sooner. 9f2e4f3 WT-2248 WT_SESSION.close is updating WT_CONNECTION_IMPL.default_session. a6da10e SERVER-21553 Enable fast-path truncate after splits. 39dfd21 WT-2243 Don't keep transaction IDs pinned for reading from checkpoints. 4e1844c WT-2230 multi-split error path. cace179 WT-2228 avoid unnecessary raw-compression calls. 890ee34 SERVER-21619 Don't do internal page splits after a tree is marked DEAD. 6c7338f WT-2241 Use a lock to protect transaction ID allocation. 978c237 WT-2234 Coverity analysis warnings. Branch: master https://github.com/mongodb/mongo/commit/e7181b542b25981db42f74cdaee4e7fc323d3e9d

            People

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

              Dates

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