| Summary: | Deleting project fails under NFS | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | John Eblen <jdeblen1> |
| Component: | RDT.sync | Assignee: | John Eblen <jdeblen1> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | beth, g.watson, jeblen, roland |
| Version: | 6.0 | ||
| Target Milestone: | 6.0.1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
John Eblen
I've traced this to a failure to delete a .nfs file in .ptp-sync/objects/pack This seems to be related to bug 349200 I've placed a workaround on the wiki under the "Known Issues" section. The workaround is to close Eclipse, restart, and then delete. This works because the pack files are not yet open on Eclipse startup. I committed a small change to PTP_5_0 and HEAD that disables sync'ing for a project just before it is deleted. Otherwise it's possible, although I've never seen it happen, that a malfunctioning delete could trigger a sync that deletes files remotely. (Note that the files could be recovered from the git repo, but it would not be obvious how to do it.) Fixed in master by closing repository just before project deletion. Fixed also in ptp_5_0 Refactoring for Juno disabled the fix for this bug. It also occurs on Windows, which locks open files (the pack files used by JGit in this case). Fixed in master |