of the file as the ``filename`` argument. If the specified output file
is the same as the configured memfile one the backend close and reopen
the file in an attempt to synchronize both file and in memory images
-of the lease database.
+of the lease database. The previous file is renamed by appending ``.bak``
+to its name.
.. note::
These commands do not replace the LFC mechanism: they should be used
- only in exceptional circumstances.
+ only in exceptional circumstances, such as when recovering after
+ running out of disk space.
}
void Lease4CmdsTest::testLease4Write() {
+ // lease4-write negative tests. Positive tests are in the
+ // memfile_lease_mgr_unittest.cc file.
+
// Initialize lease manager (false = v4, false = don't add leases)
initLeaseMgr(false, false);