summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-08-06 22:30:27 +0200
committerMichael Adam <obnox@samba.org>2008-08-13 11:54:07 +0200
commitebaf208fc363ba4a53fc61523aab2e6392738aa1 (patch)
tree1b99001426c6852117e64c382c716027fe310cfd
parentb45305b5d850de286878eda98a6eaa0b0553595d (diff)
downloadsamba-ebaf208fc363ba4a53fc61523aab2e6392738aa1.tar.gz
samba-ebaf208fc363ba4a53fc61523aab2e6392738aa1.tar.bz2
samba-ebaf208fc363ba4a53fc61523aab2e6392738aa1.zip
dbwrap ctdb: don't retry when tdb_store failed in db_ctdb_persistent_store().
Only retry when ctdbd_persisten_update() failed. Michael (This used to be commit ff413a4614c8b272a34b2a9e56a329a8e8749a34)
-rw-r--r--source3/lib/dbwrap_ctdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/dbwrap_ctdb.c b/source3/lib/dbwrap_ctdb.c
index 69b3631c04..4441bfacac 100644
--- a/source3/lib/dbwrap_ctdb.c
+++ b/source3/lib/dbwrap_ctdb.c
@@ -191,6 +191,7 @@ static NTSTATUS db_ctdb_store_persistent(struct db_record *rec, TDB_DATA data, i
crec->ctdb_ctx->db_id,
rec->key,
cdata);
+ break;
}
SAFE_FREE(cdata.dptr);