@@ -139,3 +139,65 @@ deprecated, and will be removed in version 8.0.0. Instead, use `node.pidfile`.
139139To ensure that all settings are in a proper namespace, the `processors` setting
140140is deprecated, and will be removed in version 8.0.0. Instead, use
141141`node.processors`.
142+
143+ [discrete]
144+ [[breaking_74_transform_changes]]
145+ === {transform-cap} changes
146+
147+ [discrete]
148+ [[transform_stats_format]]
149+ ==== Stats response format changes
150+
151+ The response format of the <<get-transform-stats>> is very different
152+ to previous versions:
153+
154+ - `task_state` and `indexer_state` are combined into a single `state` field
155+ that replaces the old `state` object.
156+ - Within the `checkpointing` object, `current` is renamed to `last` and
157+ `in_progress` to `next`.
158+ - The `checkpoint` number is now nested under `last` and `next`.
159+ - `checkpoint_progress` is now reported in an object nested in the `next`
160+ checkpoint object. (If there is no `next` checkpoint then no checkpoint is
161+ in progress and by definition the `last` checkpoint is 100% complete.)
162+
163+ For an example of the new format see <<get-transform-stats-example>>.
164+
165+ [discrete]
166+ [[breaking_74_df_analytics_changes]]
167+ === {dfanalytics-cap} changes
168+
169+ [discrete]
170+ [[progress_reporting_change]]
171+ ==== Changes to progress reporting
172+
173+ The single integer `progress_percent` field at the top level of the
174+ {dfanalytics-job} stats is replaced by a `progress` field that is an array
175+ of objects. Each object contains the `phase` name and `progress_percent` of one
176+ phase of the analytics. For example:
177+
178+ [source,js]
179+ ----
180+ {
181+ "id" : "my_job",
182+ "state" : "analyzing",
183+ "progress" : [
184+ {
185+ "phase" : "reindexing",
186+ "progress_percent" : 100
187+ },
188+ {
189+ "phase" : "loading_data",
190+ "progress_percent" : 100
191+ },
192+ {
193+ "phase" : "analyzing",
194+ "progress_percent" : 47
195+ },
196+ {
197+ "phase" : "writing_results",
198+ "progress_percent" : 0
199+ }
200+ ]
201+ }
202+ ----
203+ // NOTCONSOLE
0 commit comments