BIND 10 #1704: log output mixed
BIND 10 Development
do-not-reply at isc.org
Thu May 17 11:16:35 UTC 2012
#1704: log output mixed
-------------------------------------+-------------------------------------
Reporter: jreed | Owner: UnAssigned
Type: | Status: reviewing
defect | Milestone:
Priority: | Sprint-20120529
medium | Resolution:
Component: | Sensitive: 0
logging | Sub-Project: Core
Keywords: | Estimated Difficulty: 15
Defect Severity: N/A | Total Hours: 0
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Changes (by muks):
* owner: muks => UnAssigned
Comment:
Replying to [comment:33 muks]:
> Taking back. Currently this code uses a lockfile with `fcntl()`, but it
seems a `boost::interprocess::interprocess_mutex` is better for it.
That was a bad idea. It seems that if the processes terminates due to some
reason, the mutex is still valid if it's in shared memory. That would
block other processes and a reincarnation of itself when it restarts. The
lock file approach is better for us.
I have also fixed the unit tests which require logging and don't properly
set B10_FROM_SOURCE.
Up for review again.
--
Ticket URL: <http://bind10.isc.org/ticket/1704#comment:34>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list