-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[7.13] [ML] [Transform] fix bug where group_by ordering could break w…
…hen serializing between nodes (#72016) (#72027) * [ML] [Transform] fix bug where group_by ordering could break when serializing between nodes (#72016) If a PUT request for a transform is not made against a master node, it is possible that the transform config is serialized to another node. When that occurs, the group_by keys could be arbitrarily ordered (because the READING from the wire stream did not respect insertion order). This commit adds a test to make sure that group_by order is respected when: serializing between nodes serializing to/from xcontent when writing composite aggregation sources The bug fix is rather simple, change the wire stream input to respect the insertion order.
- Loading branch information
Showing
2 changed files
with
86 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters