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

WT_PREPARE_CONFLICT error description is wrong

    XMLWordPrintable

    Details

    • Type: Documentation
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:

      Description

      The following is the description of the WT_PREPARE_CONFLICT.

      #define WT_PREPARE_CONFLICT

      Conflict with a prepared update.

      This error is generated when the application attempts to update an already updated record which is in prepared state. An updated record will be in prepared state, when the transaction that performed the update is in prepared state.

       

      **This error never occurred in my test with update of a record that is already updated by a transaction which is in prepared state. It always produces the error of "conflict between concurrent operations". But the WT_PREPARE_CONFLICT error is raised when the record is read and it is true also as per the description in the following link.

      http://source.wiredtiger.com/3.2.0/transactions.html#transaction_timestamps

       

      The documentation of the error needs an update from update to read in the following sections

      http://source.wiredtiger.com/3.2.0/error_handling.html

      **http://source.wiredtiger.com/3.2.0/group__wt.html#ga62f73045c5d37d8daee4533dd720376e

       

       

        Attachments

          Activity

            People

            Assignee:
            backlog-server-storage-engines Backlog - Storage Engines Team
            Reporter:
            haribabu.kommi Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: