Ticket #780 (closed defect: wontfix)
Snapshots hangs when writing an entry and stops recording data until a server restart
Reported by: | strauss | Owned by: | desai |
---|---|---|---|
Priority: | major | Milestone: | Bcfg2 1.1.1 Release (Bugfix) |
Component: | bcfg2-client | Version: | 1.0 |
Keywords: | Cc: | [email protected]…, [email protected]… |
Description
Current workaround is to disable VCS plugins when using Snapshots. Longer-term solution for Bazaar is to use the native Python API. Not sure what to do with the other tools.
(This has not been completely verified as the problem yet, but it's highly suspicious that Snapshots starts to create the data structure to write out the snapshot and sometimes never comes back.)
Attachments
Change History
comment:2 Changed 13 years ago by strauss
- Summary changed from Snapshots hangs when calling version control plugins to fetch revisions to Snapshots hangs when writing an entry and stops recording data until a server restart
Unfortunately, it seems like I may still be getting the hanging issue even with the Bzr plugin using the native API. I may be looking in the wrong place. Will experiment with this over the coming week or so to see what's wrong.
comment:4 Changed 13 years ago by desai
- Milestone changed from Bcfg2 1.0.0 Release to Bcfg2 1.0.1 Release
comment:5 in reply to: ↑ 1 Changed 13 years ago by solj
- Cc [email protected]… added
- Milestone changed from Bcfg2 1.0.1 Release to Bcfg2 1.1.0 Release
Replying to strauss:
As of [f93d59641f6423cf9d09d115e58f3f56d7d13978] (SVN r5540), the Bazaar plugin is using the native Python API and should not have interprocess communication issues or defunct processes that cause Snapshots to hang.
The Git plugin is now using dulwich which is also a native python API. I still see this problem when lots of clients are connecting overnight.
comment:6 Changed 13 years ago by solj
I think the plugin may be getting an internal traceback here. Is the hang reproducible? If so, can you run the server in the foreground and see if you get a traceback from the Snapshots plugin?
As of [f93d59641f6423cf9d09d115e58f3f56d7d13978] (SVN r5540), the Bazaar plugin is using the native Python API and should not have interprocess communication issues or defunct processes that cause Snapshots to hang.