diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/dbwrap/dbwrap_ctdb.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c index 01dfacac1a..922a5cf665 100644 --- a/source3/lib/dbwrap/dbwrap_ctdb.c +++ b/source3/lib/dbwrap/dbwrap_ctdb.c @@ -1098,11 +1098,7 @@ again: * take the shortcut and just return it. */ - if (!db_ctdb_own_record(ctdb_data, false) -#if 0 - || (random() % 2 != 0) -#endif -) { + if (!db_ctdb_own_record(ctdb_data, false)) { SAFE_FREE(ctdb_data.dptr); tdb_chainunlock(ctx->wtdb->tdb, key); talloc_set_destructor(result, NULL); |