-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
EaR: Optimize logging from GetEncryptCipherKey #10326
EaR: Optimize logging from GetEncryptCipherKey #10326
Conversation
Description Optimize logging emitted from GetEncryptCipherKey module, especially the one more useful for debugging and not very useful in the production Testing SwizzledRollbackSideBand - randomSeed (276500218) devRunCorrectness - 100k
Doxense CI Report for Windows 10
|
Result of foundationdb-pr-clang-ide on Linux CentOS 7
|
Result of foundationdb-pr on Linux CentOS 7
|
Result of foundationdb-pr-clang on Linux CentOS 7
|
Result of foundationdb-pr-cluster-tests on Linux CentOS 7
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason to comment out these loggings by default? They used to be helpful in finding out if encryption failure because of missing EKP.
Few reasons:
Further, we have log lines (ClusterController and EKP actor logs) tracking the EKP process lifecycle, hence, EKP missing is usually triaged using those logs in recent past, hence, suppressing these logs aren't causing any loss of debugging assistance, imo. Further, we have logs to track inserts/remove for BlobCipherKeyCaches helping constructing lifecycle of an EncryptionKey for a given run. Overall I feel logging wise we_might_ have more logging at the moment and it might be better to trim them as much as possible. This commit feels like a step in that direction. Hope it helps. |
Result of foundationdb-pr-clang-ide on Linux CentOS 7
|
Doxense CI Report for Windows 10
|
Result of foundationdb-pr on Linux CentOS 7
|
Result of foundationdb-pr-cluster-tests on Linux CentOS 7
|
Result of foundationdb-pr-clang on Linux CentOS 7
|
Result of foundationdb-pr-clang-ide on Linux CentOS 7
|
Result of foundationdb-pr-clang on Linux CentOS 7
|
Result of foundationdb-pr on Linux CentOS 7
|
Result of foundationdb-pr-cluster-tests on Linux CentOS 7
|
* main: (26 commits) Stop consistency scanner while restore is in progress Improve logging (apple#10387) Split GLOBAL_TAG_THROTTLING_FOLDING_TIME into several knobs Added HoltLinearSmootherImpl::eTrendFoldingTime field Use HoltLinearSmoother in GlobalTagThrottler Add HoltLinearSmoother EaR: Optimize logging from GetEncryptCipherKey (apple#10326) Fix tracing in GlobalTagThrottler::getClientRates Fix tracing typo in GlobalTagThrottler fixup! joshua_logtool error should be reported as a XML element by test_harness Change compiler options order to avoid -gdwarf overriding -g1 (apple#10377) Fix test by disable tenant Should repeat when speedUpSimulation is false Fix a simulation DR stuck issue update links to foundationdb.org to reference GitHub add cmake option to include RocksDB Tools with the Rocks DB compile SS Audit Storage Throttling (apple#10322) Fix restore range loss Fix type of TagCost field in BusiestReadTag traces Fix failing /fdbserver/TransactionTagCounter/IgnoreBelowMinRate unit test ...
Description Optimize logging emitted from GetEncryptCipherKey module, especially the one more useful for debugging and not very useful in the production Testing SwizzledRollbackSideBand - randomSeed (276500218) devRunCorrectness - 100k (cherry picked from commit 4f21e0c)
Description Optimize logging emitted from GetEncryptCipherKey module, especially the one more useful for debugging and not very useful in the production Testing SwizzledRollbackSideBand - randomSeed (276500218) devRunCorrectness - 100k (cherry picked from commit 4f21e0c)
Description Optimize logging emitted from GetEncryptCipherKey module, especially the one more useful for debugging and not very useful in the production Testing SwizzledRollbackSideBand - randomSeed (276500218) devRunCorrectness - 100k (cherry picked from commit 4f21e0c)
Description
Optimize logging emitted from GetEncryptCipherKey module, especially the one more useful for debugging and not very useful in the production
Testing
SwizzledRollbackSideBand - randomSeed (276500218)
devRunCorrectness - 100k
Code-Reviewer Section
The general pull request guidelines can be found here.
Please check each of the following things and check all boxes before accepting a PR.
For Release-Branches
If this PR is made against a release-branch, please also check the following:
release-branch
ormain
if this is the youngest branch)