Skip to content

Commit

Permalink
mqb logging: PartitionId -> Partition
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Jing Vincent Yan <[email protected]>
  • Loading branch information
kaikulimu committed Jan 28, 2025
1 parent c3e89d7 commit 313caff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/groups/mqb/mqbblp/mqbblp_clusterorchestrator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1770,7 +1770,7 @@ void ClusterOrchestrator::processPrimaryStatusAdvisory(
// TBD: may need to review the order of invoking these routines.

BALL_LOG_INFO << d_clusterData_p->identity().description()
<< " PartitionId [" << primaryAdv.partitionId()
<< " Partition [" << primaryAdv.partitionId()
<< "]: received primary status advisory: " << primaryAdv
<< ", from: " << source->nodeDescription();

Expand Down
2 changes: 1 addition & 1 deletion src/groups/mqb/mqbs/mqbs_filebackedstorage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ FileBackedStorage::releaseRef(const bmqt::MessageGUID& guid)

if (0 != rc) {
BMQTSK_ALARMLOG_ALARM("FILE_IO")
<< "PartitionId [" << partitionId() << "] failed to write "
<< "Partition [" << partitionId() << "] failed to write "
<< "DELETION record for GUID: " << guid << ", for queue '"
<< d_queueUri << "', queueKey '" << d_queueKey
<< "' while attempting to purge the message, rc: " << rc
Expand Down
4 changes: 2 additions & 2 deletions src/groups/mqb/mqbs/mqbs_virtualstoragecatalog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ VirtualStorageCatalog::removeAll(const mqbu::StorageKey& appKey)
else {
if (result == mqbi::StorageResult::e_GUID_NOT_FOUND) {
BALL_LOG_WARN
<< "#STORAGE_PURGE_ERROR " << "PartitionId ["
<< "#STORAGE_PURGE_ERROR " << "Partition ["
<< d_storage_p->partitionId() << "]"
<< ": Attempting to purge GUID '" << itData->first
<< "' from virtual storage with appId '"
Expand All @@ -359,7 +359,7 @@ VirtualStorageCatalog::removeAll(const mqbu::StorageKey& appKey)
}
else {
BMQTSK_ALARMLOG_ALARM("STORAGE_PURGE_ERROR")
<< "PartitionId [" << d_storage_p->partitionId() << "]"
<< "Partition [" << d_storage_p->partitionId() << "]"
<< ": Attempting to purge GUID '" << itData->first
<< "' from virtual storage with appId '"
<< itVs->value()->appId() << "' & appKey '" << appKey
Expand Down

0 comments on commit 313caff

Please sign in to comment.