1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

disabled the traversal of the brlock database at startup and

shutdown. I have just helped debug a very large Solaris server where
the traversal was taking so long that the clients timed out, created a
new process which in turn did a traversal!

we will need to find some other way of doing a brlock.tdb cleanup (if
its even needed at all)
(This used to be commit 2728d131356313db0d6341b0a01d6625d13367c3)
This commit is contained in:
Andrew Tridgell 2002-04-17 05:43:05 +00:00
parent e35ac78c49
commit 0e6ac42b4d

View File

@ -232,10 +232,6 @@ void brl_init(int read_only)
DEBUG(0,("Failed to open byte range locking database\n"));
return;
}
/* delete any dead locks */
if (!read_only)
tdb_traverse(tdb, delete_fn, &check_self);
}
/****************************************************************************
@ -249,10 +245,6 @@ void brl_shutdown(int read_only)
if (!tdb)
return;
/* delete any dead locks */
if (!read_only)
tdb_traverse(tdb, delete_fn, &check_self);
tdb_close(tdb);
}