[MacPorts] #61154: Error: port deactivate failed: this entry does not own the given file
MacPorts
noreply at macports.org
Mon Sep 14 07:34:41 UTC 2020
#61154: Error: port deactivate failed: this entry does not own the given file
-------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.6.3
Resolution: | Keywords:
Port: |
-------------------------+--------------------
Comment (by jmroot):
The link to the VMware docs seems to have broken, but from your quote in
that thread, it sounds like fsync works correctly in a VM. It's not clear
whether the fcntls do. F_FULLFSYNC goes beyond waiting for the drive to
acknowledge the write and tells it to actually flush the write buffer and
ensure everything is on the platter before saying it's done.
We could try using [https://sqlite.org/wal.html WAL] when available, and
only checkpoint when closing the registry. That should at least reduce the
window in which corruption can occur if the system shuts down
unexpectedly.
--
Ticket URL: <https://trac.macports.org/ticket/61154#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list