From a7fe6266d82e046b9bb039cc7f971e8d98059a75 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 3 May 2009 00:49:35 +0000 Subject: [PATCH] Don't do alock recovery in readonly mode since we didn't do BDB recovery --- servers/slapd/back-bdb/init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/back-bdb/init.c b/servers/slapd/back-bdb/init.c index 02ab2271de..653d0e9e78 100644 --- a/servers/slapd/back-bdb/init.c +++ b/servers/slapd/back-bdb/init.c @@ -223,6 +223,7 @@ bdb_db_open( BackendDB *be, ConfigReply *cr ) "Run manual recovery if errors are encountered.\n", be->be_suffix[0].bv_val, 0, 0 ); do_recover = 0; + do_alock_recover = 0; quick = alockt; } -- 2.39.5