Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-5557

enabling read conflict detection may cause transactions to fail with a conflict on entries that are never written

    XMLWordPrintableJSON

Details

    Description

      Read conflict detection can be enabled with -Dgemfire.detectReadConflicts=true.

      If this is done then a transaction can fail because it read an entry that some one else modified.

      But it is possible that this feature will cause your transaction to fail because some other transaction read an entry that you read or wrote. These are not valid conflicts.

      This bug is caused by the way TXReservationMgr checks for conflicts. It treats every key sent to it as if it was written and when read confliction detection is enabled keys we only read are sent to it.

      Attachments

        Issue Links

          Activity

            People

              mivanac Mario Ivanac
              dschneider Darrel Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 10m
                  4h 10m