Activity log for bug #495000

Date Who What changed Old value New value Message
2009-12-10 12:10:35 Gareth White bug added bug
2009-12-10 12:10:35 Gareth White attachment added bzr.log http://launchpadlibrarian.net/36656628/bzr.log
2009-12-10 12:12:28 Gareth White description When committing at the same time to different branches in a shared repository, the commit will occasionally fail with an error such as: aborting commit write group: NoSuchFile(No such file: 'C:/code/testrepo/.bzr/repository/packs/e5c831b49ebe63551656348d6b6ae931.pack') See attached log for the full output. It looks like both commits are trying to do the autopack and one is failing because the other has already done it. I've reproduced this with and without a smart server, but it seems easier to reproduce with a smart server. I've tested it with both Bazaar 2.0.1 and 2.1.0b3 using Python 2.5 on Windows XP SP3. To reproduce: bzr init-repo --no-trees testrepo bzr init testrepo\branch1 bzr init testrepo\branch2 start bzr serve --allow-writes bzr checkout --lightweight bzr://localhost/testrepo/branch1 bzr checkout --lightweight bzr://localhost/testrepo/branch2 In separate windows, repeat the following command many times simultaneously: commit -m "test" --unchanged (Note: This also happens even if committing real changes. We've noticed it just by having 3 developers using the same repository at the same time. It makes us worried about how it would scale to 30+.) When committing at the same time to different branches in a shared repository, the commit will occasionally fail with an error such as: aborting commit write group: NoSuchFile(No such file: 'C:/code/testrepo/.bzr/repository/packs/e5c831b49ebe63551656348d6b6ae931.pack') See attached log for the full output. It looks like both commits are trying to do the autopack and one is failing because the other has already done it. I've reproduced this with and without a smart server, but it seems easier to reproduce with a smart server. I've tested it with both Bazaar 2.0.1 and 2.1.0b3 using Python 2.5 on Windows XP SP3. To reproduce: bzr init-repo --no-trees testrepo bzr init testrepo\branch1 bzr init testrepo\branch2 start bzr serve --allow-writes bzr checkout --lightweight bzr://localhost/testrepo/branch1 bzr checkout --lightweight bzr://localhost/testrepo/branch2 In one window, "cd branch1" and repeat the following command many times: commit -m "test" --unchanged In another window, do the same thing in "branch2" at the same time. (Note: This also happens even if committing real changes. We've noticed it just by having 3 developers using the same repository at the same time. It makes us worried about how it would scale to 30+.)
2009-12-14 10:14:52 Gareth White summary NoSuchFile error when committing concurrently Autopack fails with NoSuchFile error when committing concurrently
2009-12-15 10:04:05 Gareth White attachment added bzr.log http://launchpadlibrarian.net/36812834/bzr.log
2009-12-15 10:05:40 Gareth White attachment added bzr.log http://launchpadlibrarian.net/36812851/bzr.log
2009-12-16 00:25:35 Martin Pool bzr: status New Confirmed
2009-12-16 00:25:37 Martin Pool bzr: importance Undecided Medium
2009-12-16 20:21:13 Launchpad Janitor branch linked lp:~jameinel/bzr/2.0.4-495000-win32-autopack
2009-12-16 22:04:23 John A Meinel bzr: status Confirmed Fix Committed
2009-12-19 05:37:04 Gareth White attachment added test2.sh http://launchpadlibrarian.net/36964020/test2.sh
2010-01-21 20:41:29 John A Meinel bzr: status Fix Committed Fix Released
2010-01-21 20:41:29 John A Meinel bzr: milestone 2.1.0rc1
2010-01-21 20:41:29 John A Meinel bzr: assignee John A Meinel (jameinel)
2010-01-21 20:41:53 John A Meinel nominated for series bzr/2.0
2010-01-21 20:41:53 John A Meinel bug task added bzr/2.0
2010-01-21 20:42:14 John A Meinel bzr/2.0: importance Undecided Medium
2010-01-21 20:42:14 John A Meinel bzr/2.0: status New Fix Released
2010-01-21 20:42:14 John A Meinel bzr/2.0: milestone 2.0.4
2010-01-21 20:42:14 John A Meinel bzr/2.0: assignee John A Meinel (jameinel)