Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make logging module consistent and remove atomic. #75

Merged
merged 3 commits into from
Sep 29, 2023

Conversation

szmyd
Copy link
Collaborator

@szmyd szmyd commented Sep 29, 2023

No description provided.

@szmyd szmyd force-pushed the consolidate_logging branch from a830d2f to 8b434ad Compare September 29, 2023 02:05
@codecov-commenter
Copy link

codecov-commenter commented Sep 29, 2023

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (185381e) 70.59% compared to head (8b434ad) 70.68%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #75      +/-   ##
==========================================
+ Coverage   70.59%   70.68%   +0.08%     
==========================================
  Files          28       28              
  Lines         687      689       +2     
  Branches       54       54              
==========================================
+ Hits          485      487       +2     
  Misses        169      169              
  Partials       33       33              
Files Coverage Δ
src/lib/homeobject_impl.hpp 100.00% <ø> (ø)
src/lib/homestore_backend/hs_homeobject.cpp 59.45% <ø> (ø)
...c/lib/homestore_backend/tests/test_home_object.cpp 89.74% <ø> (ø)
...lib/homestore_backend/tests/test_shard_manager.cpp 93.44% <ø> (ø)
src/lib/memory_backend/mem_blob_manager.cpp 69.23% <100.00%> (-2.20%) ⬇️
src/lib/memory_backend/mem_homeobject.cpp 100.00% <100.00%> (ø)
src/lib/memory_backend/mem_homeobject.hpp 100.00% <ø> (ø)
src/lib/pg_manager.cpp 94.73% <100.00%> (ø)
src/lib/shard_manager.cpp 87.17% <ø> (ø)
src/lib/homestore_backend/hs_pg_manager.cpp 42.85% <0.00%> (ø)
... and 3 more

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -22,7 +22,7 @@ void HeapChunkSelector::add_chunk(csharedChunk& chunk) { m_chunks.emplace(VChunk
void HeapChunkSelector::add_chunk_internal(const chunk_num_t chunkID) {
if (m_chunks.find(chunkID) == m_chunks.end()) {
// sanity check
LOGWARN("No chunk found for ChunkID {}", chunkID);
LOGWARNMOD(homeobject, "No chunk found for ChunkID {}", chunkID);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HeapChunkSelector currently does not include homeobject headers...so this is left alone,

@szmyd szmyd requested review from hkadayam and yamingk September 29, 2023 02:23
@szmyd szmyd changed the title Make logging module consistent. Make logging module consistent and remove atomic. Sep 29, 2023
@@ -16,7 +16,6 @@ AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Right
AlignOperands: false
AlignTrailingComments: true
AllowShortBlocksOnASingleLine: true
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a dupe; it's below as well.

@szmyd szmyd force-pushed the consolidate_logging branch 2 times, most recently from d29f928 to 64965b5 Compare September 29, 2023 02:46
@szmyd szmyd merged commit c251a37 into eBay:main Sep 29, 2023
48 checks passed
@szmyd szmyd deleted the consolidate_logging branch September 29, 2023 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants