The Samba-Bugzilla – Attachment 12494 Details for
Bug 12045
gencache: Bail out of stabilize if we can not get the allrecord lock.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
patch (text/plain), 847 bytes, created by
Volker Lendecke
on 2016-09-19 21:33:09 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2016-09-19 21:33:09 UTC
Size:
847 bytes
patch
obsolete
>From fc366fc61db286ddf66b39c873d916f59e08e4a6 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Mon, 19 Sep 2016 14:29:21 -0700 >Subject: [PATCH] gencache: Bail out of stabilize if we can not get the > allrecord lock > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=12045 >Signed-off-by: Volker Lendecke <vl@samba.org> >--- > source3/lib/gencache.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c >index 5af6eb8..b5fed3d 100644 >--- a/source3/lib/gencache.c >+++ b/source3/lib/gencache.c >@@ -655,7 +655,7 @@ bool gencache_stabilize(void) > return false; > } > >- res = tdb_lockall(cache_notrans->tdb); >+ res = tdb_lockall_nonblock(cache_notrans->tdb); > if (res != 0) { > tdb_transaction_cancel(cache->tdb); > DEBUG(10, ("Could not get allrecord lock on " >-- >2.7.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
jra
:
review+
Actions:
View
Attachments on
bug 12045
:
12356
|
12357
|
12364
|
12459
|
12468
|
12469
|
12470
|
12471
|
12472
|
12478
|
12479
|
12480
|
12481
|
12482
|
12483
|
12484
|
12485
|
12486
|
12487
|
12490
|
12491
|
12494
|
12499