We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
maxRecordSizeBytes
1 parent 2fca171 commit 16634a0Copy full SHA for 16634a0
internal/venice-common/src/main/java/com/linkedin/venice/writer/VeniceWriter.java
@@ -907,7 +907,8 @@ public CompletableFuture<PubSubProduceResult> put(
907
*/
908
int veniceRecordSize = serializedKey.length + serializedValue.length + replicationMetadataPayloadSize;
909
if (isChunkingNeededForRecord(veniceRecordSize)) { // ~1MB default
910
- if (isChunkingEnabled && !isRecordTooLarge(veniceRecordSize)) {
+ // RMD size is not checked because it's an internal component, and a user's write should not be failed due to it
911
+ if (isChunkingEnabled && !isRecordTooLarge(serializedKey.length + serializedValue.length)) {
912
return putLargeValue(
913
serializedKey,
914
serializedValue,
0 commit comments