Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

fixes issue i just opened. #12

Closed
wants to merge 1 commit into from

2 participants

@mbucc

increment serial id only after we successfully load a transaction. otherwise we create an invalid Sentry entry

Mark Bucciarelli increment serial id only after we successfully load a transaction. ot…
…herwise we create an invalid Sentry entry
f4b10fb
@PetrGlad PetrGlad closed this pull request from a commit
@PetrGlad Fixes #12 1901c9c
@PetrGlad PetrGlad closed this in 1901c9c
@PetrGlad
Owner

Perhaps we need a test for this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 15, 2011
  1. increment serial id only after we successfully load a transaction. ot…

    Mark Bucciarelli authored
    …herwise we create an invalid Sentry entry
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/pv/core.py
View
2  src/pv/core.py
@@ -80,8 +80,8 @@ def replayLog():
try:
try:
while True:
- self.serialId += 1
tx = pickle.load(log)
+ self.serialId += 1
sentry = pickle.load(log);
assert self.serialId == sentry.serialId
yield tx
Something went wrong with that request. Please try again.