Opened 18 years ago
Closed 18 years ago
#5423 closed defect (fixed)
repos.sync throws NoSuchChangeset
| Reported by: | Owned by: | Christian Boos | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.10.5 |
| Component: | version control | Version: | 0.10.4 |
| Severity: | normal | Keywords: | resync |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
It seems to me that a sync function shouldn't throw.
Stacktrace:
File "/usr/bin/bitten-master", line 7, in ?
sys.exit(
File "build/bdist.linux-i686/egg/bitten/master.py", line 405, in main
File "build/bdist.linux-i686/egg/bitten/util/beep.py", line 150, in run
File "build/bdist.linux-i686/egg/bitten/master.py", line 66, in _enqueue_builds
File "build/bdist.linux-i686/egg/bitten/queue.py", line 162, in populate
File "/usr/lib/python2.3/site-packages/trac/versioncontrol/cache.py", line 102, in sync
self.youngest = self.repos.normalize_rev(self.youngest)
File "/usr/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py", line 312, in normalize_rev
raise NoSuchChangeset(rev)
trac.versioncontrol.api.NoSuchChangeset: No changeset 9408 in the repository
Attachments (1)
Change History (8)
comment:1 by , 18 years ago
| Component: | general → version control |
|---|---|
| Description: | modified (diff) |
| Owner: | changed from to |
follow-ups: 3 4 comment:2 by , 18 years ago
comment:3 by , 18 years ago
We have been running 0.10.4 for at least a week now with many successful checkins and many successful bitten builds (though we have been seeing a lot of bitten crashes)
It looks like a race of some sort to me. bitten is in a separate process than trac.
Replying to eblot:
Have you recently upgraded to 0.10.4 ?
Try to run
trac-admin <project> resyncIt may be a duplicate of #5259.
by , 18 years ago
| Attachment: | fix-sync-race-0.10.5dev.patch added |
|---|
Get the repository youngest_rev right before we call normalize_rev
comment:5 by , 18 years ago
| Keywords: | resync added |
|---|---|
| Milestone: | → 0.10.5 |
| Status: | new → assigned |
Can you please try attachment:fix-sync-race-0.10.5dev.patch and report back if the this fixes the problem?
comment:6 by , 18 years ago
Yes, this seems to fix our problem. Bitten has been up for 9 hours. Previously it crashed every 1:30 hrs or so, esp when trac was being used by our developers and checkins were happening.
comment:7 by , 18 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |



Have you recently upgraded to 0.10.4 ?
Try to run
It may be a duplicate of #5259.