equal
deleted
inserted
replaced
479 // revlog.py talks about a Solaris bug, but we also saw some ZFS |
479 // revlog.py talks about a Solaris bug, but we also saw some ZFS |
480 // bug: https://github.com/openzfs/zfs/pull/3124, |
480 // bug: https://github.com/openzfs/zfs/pull/3124, |
481 // https://github.com/openzfs/zfs/issues/13370 |
481 // https://github.com/openzfs/zfs/issues/13370 |
482 // |
482 // |
483 if !append { |
483 if !append { |
|
484 log::trace!("creating a new dirstate data file"); |
484 options.create_new(true); |
485 options.create_new(true); |
|
486 } else { |
|
487 log::trace!("appending to the dirstate data file"); |
485 } |
488 } |
486 |
489 |
487 let data_size = (|| { |
490 let data_size = (|| { |
488 // TODO: loop and try another random ID if !append and this |
491 // TODO: loop and try another random ID if !append and this |
489 // returns `ErrorKind::AlreadyExists`? Collision chance of two |
492 // returns `ErrorKind::AlreadyExists`? Collision chance of two |