mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Mark nudb_block_size as experimental in configuration documentation
Add clear warning that nudb_block_size is an experimental feature that may affect database performance and stability, as suggested in code review.
This commit is contained in:
@@ -977,10 +977,14 @@
|
||||
#
|
||||
# Optional keys for NuDB only:
|
||||
#
|
||||
# nudb_block_size Block size in bytes for NuDB storage.
|
||||
# nudb_block_size EXPERIMENTAL: Block size in bytes for NuDB storage.
|
||||
# Must be a power of 2 between 4096 and 32768.
|
||||
# Default is 4096.
|
||||
#
|
||||
# WARNING: This is an experimental feature that may
|
||||
# affect database performance and stability. Use with
|
||||
# caution in production environments.
|
||||
#
|
||||
# This parameter controls the fundamental storage unit
|
||||
# size for NuDB's internal data structures. The choice
|
||||
# of block size can significantly impact performance
|
||||
|
||||
@@ -92,7 +92,7 @@ private:
|
||||
|
||||
// Helper function to test log messages
|
||||
void
|
||||
testLogMessage(Section const& params, beast::severities::Level level,
|
||||
testLogMessage(Section const& params, beast::severities::Severity level,
|
||||
std::string const& expectedMessage)
|
||||
{
|
||||
test::StreamSink sink(level);
|
||||
|
||||
Reference in New Issue
Block a user