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

Only allow read-only transactions in reset_snapshot

    XMLWordPrintable

Details

    Description

      Summary
      The reset_snapshot(WT_SESSION *) method is rejecting read-only transactions in MongoDB.

      The issue is similar in nature to WT-5330 in that the code at session_api.c is too restrictive by assuming that a transaction with an ID is a write transaction even if it has no modifications in it as given by the session->txn->mod_count.

      Attachments

        Issue Links

          Activity

            People

              keith.bostic@mongodb.com Keith Bostic (Inactive)
              jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: