Incorrect log paramenters while logging backfill completion 17/56417/3
authorabhinavdangeti <abhinav@couchbase.com>
Mon, 23 Nov 2015 17:05:01 +0000 (09:05 -0800)
committerChiyoung Seo <chiyoung@couchbase.com>
Mon, 23 Nov 2015 18:23:43 +0000 (18:23 +0000)
Change-Id: I877fd7067862f09801ffd16e7014a0c952e8c559
Reviewed-on: http://review.couchbase.org/56417
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Daniel Owen <owend@couchbase.com>
Reviewed-by: Manu Dhundi <manu@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
src/dcp-stream.cc

index 94680ad..d06102c 100644 (file)
@@ -170,10 +170,11 @@ bool DCPBackfill::run() {
 
     static_cast<ActiveStream*>(stream.get())->completeBackfill();
 
-    LOG(EXTENSION_LOG_WARNING, "%s (vb %d) Backfill task (%llu to %llu) "
-        "finished. disk seqno %llu memory seqno %llu",
-        static_cast<ActiveStream*>(stream.get())->logHeader(), startSeqno,
-        endSeqno, vbid, diskSeqno, lastPersistedSeqno);
+    LOG(EXTENSION_LOG_WARNING, "%s (vb %" PRIu16 ") "
+        "Backfill task (%" PRIu64 " to %" PRIu64 ") "
+        "finished. disk seqno %" PRIu64 " memory seqno %" PRIu64 "",
+        static_cast<ActiveStream*>(stream.get())->logHeader(), vbid,
+        startSeqno, endSeqno, diskSeqno, lastPersistedSeqno);
 
     return false;
 }