Copilot commented on code in PR #24349:
URL: https://github.com/apache/kafka/pull/24349#discussion_r4670965802
##########
streams/src/main/java/org/apache/kafka/streams/state/internals/RocksDBStore.java:
##########
@@ -250,6 +250,9 @@ void openDB(final Map<String, Object> configs, final File
stateDir) {
configSetter.setConfig(name, userSpecifiedOptions, configs);
}
+ // Atomic flush switches both CFs' memtables, so the offsets CF must
allow the same flush backlog as the data CF.
+
offsetsCfOptions.setMaxWriteBufferNumber(columnFamilyOptions.maxWriteBufferNumber());
Review Comment:
Please add an entry to `docs/getting-started/upgrade.md` describing this
RocksDB behavior change, including that the offsets column family now inherits
the data column family's `max_write_buffer_number`. The upgrade guide currently
has no note for this production behavior change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]