Opened 10 years ago
Last modified 10 years ago
#11727 closed defect
Problem with synchronizing svn commits to MySQL database — at Version 1
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | version control | Version: | 1.0.1 |
Severity: | normal | Keywords: | svn cache mysql |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
We've faced the following problem: when there's a simultanious addition of the file and replacement of the same file in one ticket, trac is unable to synchronize such a commit and the whole process stops. The cause of the error lies here: the 'Replacing' type of change is put to database as adding a new file and as a result we get the duplicate of the database. Here's the dump of sql quieries trac has sent to database:
58 Query INSERT INTO node_change (repos,rev,path,node_type,change_type,base_path, base_rev) VALUES (1,'0000011999','branch/debug_GC/tools/src/gameserver/MyTools/DropListGenerator.java','F','A',NULL,-1) 58 Query INSERT INTO node_change (repos,rev,path,node_type,change_type,base_path, base_rev) VALUES (1,'0000011999','branch/debug_GC/tools/src/gameserver/MyTools/DroplistGenerator.java','F','A',NULL,-1)
Synchronization of the data stops after that and all the changes following this problem revision are not seen by trac
Change History (2)
by , 10 years ago
comment:1 by , 10 years ago
Component: | database backend → version control |
---|---|
Description: | modified (diff) |
Keywords: | svn cache added; mysql resync removed |
Milestone: | 1.0.2 → next-stable-1.0.x |