You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Include byte size of stateKey in estimated weight of WindmillBag, WindmillValue, and WindmillWatermarkHold (#30654)
* Update WindmillBag.java
Include byte size of the stateKey on the BagState weight used to estimate and limit the total state cache size
* Update WindmillValue.java
Include stateKey size in the byte size of a WidnmillValue
* Update WindmillWatermarkHold.java
Include keyState size in the WatermarkHold estimated byte size
* Fix formatting issue
* Fix expected cache item weights in WindmillStateInternalsTest
Copy file name to clipboardExpand all lines: runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/windmill/state/WindmillBag.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -193,7 +193,7 @@ public Windmill.WorkItemCommitRequest persistDirectly(WindmillStateCache.ForKeyA
193
193
}
194
194
// We now know the complete bag contents, and any read on it will yield a
Copy file name to clipboardExpand all lines: runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/windmill/state/WindmillValue.java
Copy file name to clipboardExpand all lines: runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/windmill/state/WindmillWatermarkHold.java
+2-1
Original file line number
Diff line number
Diff line change
@@ -175,13 +175,14 @@ public Future<Windmill.WorkItemCommitRequest> persist(
Copy file name to clipboardExpand all lines: runners/google-cloud-dataflow-java/worker/src/test/java/org/apache/beam/runners/dataflow/worker/windmill/state/WindmillStateInternalsTest.java
+9-9
Original file line number
Diff line number
Diff line change
@@ -3043,15 +3043,15 @@ public void testCachedValue() throws Exception {
0 commit comments