Skip to content

Commit 502a659

Browse files
committed
Enable state tag encoding v2 by default for new Dataflow Streaming Engine jobs
Also added CHANGES.md entry detailing the change, how to disable it, and job update/downgrade limitations.
1 parent eb29f86 commit 502a659

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

CHANGES.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,42 @@
5555
* ([#X](https://github.com/apache/beam/issues/X)).
5656
-->
5757

58+
# [2.75.0] - Unreleased
59+
60+
## Highlights
61+
62+
* New highly anticipated feature X added to Python SDK ([#X](https://github.com/apache/beam/issues/X)).
63+
* New highly anticipated feature Y added to Java SDK ([#Y](https://github.com/apache/beam/issues/Y)).
64+
65+
## I/Os
66+
67+
* Support for X source added (Java/Python) ([#X](https://github.com/apache/beam/issues/X)).
68+
69+
## New Features / Improvements
70+
71+
* (Java) Enabled state tag encoding v2 by default for new Dataflow Streaming Engine jobs. It can be disabled by passing `--experiments=disable_streaming_engine_state_tag_encoding_v2` pipeline option. Note that the tag encoding version cannot change during a job update, and new jobs created on 2.75.0+ cannot be downgraded to versions before 2.73.0 (only versions 2.73.0 and later support tag encoding v2). ([#38705](https://github.com/apache/beam/pull/38705)).
72+
73+
## Breaking Changes
74+
75+
* X behavior was changed ([#X](https://github.com/apache/beam/issues/X)).
76+
77+
## Deprecations
78+
79+
* X behavior is deprecated and will be removed in X versions ([#X](https://github.com/apache/beam/issues/X)).
80+
81+
## Bugfixes
82+
83+
* Fixed X (Java/Python) ([#X](https://github.com/apache/beam/issues/X)).
84+
85+
## Security Fixes
86+
87+
* Fixed [CVE-YYYY-NNNN](https://www.cve.org/CVERecord?id=CVE-YYYY-NNNN) (Java/Python/Go) ([#X](https://github.com/apache/beam/issues/X)).
88+
89+
## Known Issues
90+
91+
[comment]: # ( When updating known issues after release, make sure also update website blog in website/www/site/content/blog.)
92+
* ([#X](https://github.com/apache/beam/issues/X)).
93+
5894
# [2.74.0] - Unreleased
5995

6096
## Highlights

runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowRunner.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,6 +1310,9 @@ public DataflowPipelineJob run(Pipeline pipeline) {
13101310
// Experiment marking that the harness supports tag encoding v2
13111311
// Backend will enable tag encoding v2 only if the harness supports it.
13121312
experiments.add("streaming_engine_state_tag_encoding_v2_supported");
1313+
// Experiment requesting tag encoding v2 on new jobs. During job updates
1314+
// old job's tag encoding version is carried over by the backend.
1315+
experiments.add("enable_streaming_engine_state_tag_encoding_v2");
13131316
options.setExperiments(ImmutableList.copyOf(experiments));
13141317
}
13151318

0 commit comments

Comments
 (0)