[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2905: fail harder if we can't write announcement-seqnum
Tahoe-LAFS
trac at tahoe-lafs.org
Wed Feb 21 00:28:00 UTC 2018
#2905: fail harder if we can't write announcement-seqnum
--------------------------+---------------------------
Reporter: meejah | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: code-storage | Version: 1.12.1
Keywords: | Launchpad Bug:
--------------------------+---------------------------
If the file `announcement-seqnum` in the node dir isn't writable, the code
in `write_config` (in `Node`, or in new `_Config` class) will catch and
log the error.
However, this isn't very noticeable and we should probably fail harder
(e.g. like exiting with an error). Other things which write config-files
into the node dir should also be examined.
In this particular case, if announcement-seqnum *doesn't* get written (and
the user doesn't notice the error in the logs) then the next time we try
and make an announcement (next re-start) the introducer will reject it.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2905>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list