Accumulator snapshot has inconsistent step policy

Bug #1028050 reported by Nathan Williams
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Akiban Persistit
Fix Released
High
Nathan Williams

Bug Description

Persistit r337

The stated behavior of steps on the Transaction class is:
When reading data, modifications created by the current transaction are visible to Persistit if and only if the step number they were assigned is less or equal to the Transaction's current step number.

The stated behavior on the Accumulator#getSnapshot() method is:
The value computed by accumulating values contributed by (a) all transactions having commit timestamps less than or equal to timestamp, and (b) all operations performed by the current transaction having step numbers less than step.

Both are implemented as described but are inconsistent. The former is the desired behavior (specifically adjusted by server request) and the latter was the original behavior.

Related branches

visibility: private → public
Changed in akiban-persistit:
status: In Progress → Fix Committed
Changed in akiban-persistit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.