client: lower level of commit retry message WARNING->DEBUG
authorMichael Adam <obnox@samba.org>
Wed, 9 Dec 2009 14:05:20 +0000 (15:05 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 9 Dec 2009 20:56:59 +0000 (21:56 +0100)
This can happen frequently when recoveries intercept transactions.

Michael

client/ctdb_client.c

index ab9aad3bc0524b3375518cf6412c4dbafc06ded4..0469ba7280764259a1c5199a3e99a1d2679804d3 100644 (file)
@@ -3517,9 +3517,9 @@ again:
                           &timeout, NULL);
        if (ret != 0 || status != 0) {
                tdb_transaction_cancel(h->ctdb_db->ltdb->tdb);
-               DEBUG(DEBUG_WARNING, (__location__ " transaction commit%s failed"
-                                     ", retrying after 1 second...\n",
-                                     (retries==0)?"":"retry "));
+               DEBUG(DEBUG_NOTICE, (__location__ " transaction commit%s failed"
+                                    ", retrying after 1 second...\n",
+                                    (retries==0)?"":"retry "));
                sleep(1);
 
                if (ret != 0) {