Accumulator snapshot has inconsistent step policy

Bug #1028050 reported by Nathan Williams on 2012-07-23
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Akiban Persistit
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  Edit
Everyone can see this information.

Other bug subscribers