Skip to content

Commit

Permalink
Change log message for pushing global config map
Browse files Browse the repository at this point in the history
Change:

    INFO Pushing new cluster config for bucket:[] revision:[407]

To

    INFO Pushing new global cluster config - revision:[408]

Change-Id: I1120248fc35d867f3ac89bb547ffb360c5860c08
Reviewed-on: http://review.couchbase.org/c/kv_engine/+/149843
Tested-by: Trond Norbye <trond.norbye@couchbase.com>
Reviewed-by: James Harrison <james.harrison@couchbase.com>
  • Loading branch information
trondn committed Mar 29, 2021
1 parent c182f92 commit 23bf6f1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions daemon/cccp_notification_task.cc
Expand Up @@ -87,10 +87,13 @@ class CccpPushNotificationServerEvent : public ServerEvent {
};

Task::Status CccpNotificationTask::execute() {
LOG_INFO("Pushing new cluster config for bucket:[{}] revision:[{}]",
bucket.name,
revision);

if (bucket.type == BucketType::NoBucket) {
LOG_INFO("Pushing new global cluster config - revision:[{}]", revision);
} else {
LOG_INFO("Pushing new cluster config for bucket:[{}] revision:[{}]",
bucket.name,
revision);
}
auto rev = revision;

// This feels a bit dirty, but the problem is that when we had
Expand Down

0 comments on commit 23bf6f1

Please sign in to comment.