BIND 10 #1704: log output mixed

BIND 10 Development do-not-reply at isc.org
Fri Mar 23 10:17:34 UTC 2012


#1704: log output mixed
-------------------------------------+-------------------------------------
                   Reporter:  jreed  |                 Owner:
                       Type:         |                Status:  new
  defect                             |             Milestone:
                   Priority:         |  Sprint-20120403
  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      |
-------------------------------------+-------------------------------------

Comment (by shane):

 On the Unix side, each call to write() is guaranteed to be atomic, at
 least as far as disk blocks go. I think if each write() is less than 512
 bytes then we are safe, assuming buffering within the application is
 disabled. Using O_APPEND does indeed make you safe, since the OS also
 handles making sure the writes are at the end of the file. I don't know if
 this qualifies as "magic" or not.

-- 
Ticket URL: <http://bind10.isc.org/ticket/1704#comment:9>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list