Modify ↓
#4870 closed defect (fixed)
subversion resync can fail with duplicate key error
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | 0.10.4 |
Component: | version control | Version: | 0.10.3 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Doing a resync of a subversion respotitory which appears to be broken as described in #4043 can fail:
done 12400 done 12500 done 12600 done 12700 done 12800 done 12900 done 13000 Command failed: ERROR: duplicate key violates unique constraint "revision_pkey"
I will include the DEBUG level logs when we hit this problem again.
Attachments (0)
Change History (5)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Milestone: | 0.10.5 → 0.10.4 |
---|
comment:3 by , 18 years ago
Keywords: | needinfo added |
---|
Please can you try to install the latest version of Trac stable, which is supposed to fix this issue as well?
comment:4 by , 18 years ago
Keywords: | needinfo removed |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:5 by , 18 years ago
Actually, what likely happened was that resync was performed while the Trac instance was still in use. I think that this was not really supported before, but in 0.10.4 this is definitely working.
Note:
See TracTickets
for help on using tickets.
You mean it's not systematic?
Like, you're having the above error, then another resync attempt succeeds? If so, the only possible explanation is that there are concurrent resync attempts, like when the web front-end is still enabled while working at the command line with trac-admin.
I think that the new resync code (in #4586) will handle the above situation as well.