Details
-
Bug
-
Resolution: Fixed
-
Critical
-
Cheshire-Cat
-
Untriaged
-
1
-
Unknown
Description
As part of cbcollect_info we collect raw logs and snapshots from chronicle. Python doesn't set FILE_SHARE_DELETE flag on file handles (some history is available here). That means that if cbcollect_info happens to hold an open handle for one of the files managed by chronicle when the latter wants to delete them, chronicle will get an eacces error.
I'd really want us to keep collecting at least the log files (because they are a very useful tool for debugging at least at the moment). It's probably not easy to pass the required flag on Windows specifically. But we could probably forgo collecting this information just on windows. Alternatively I could look into not making such spurious errors fatal.
Attachments
For Gerrit Dashboard: MB-46249 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
153845,3 | MB-46249 Mimimize time cbcollect keeps file open | master | ns_server | Status: MERGED | +2 | +1 |