Skip to content

Comments

Harden new tsid hashing transport version#106898

Closed
dnhatn wants to merge 1 commit intoelastic:mainfrom
dnhatn:harden-transport-version
Closed

Harden new tsid hashing transport version#106898
dnhatn wants to merge 1 commit intoelastic:mainfrom
dnhatn:harden-transport-version

Conversation

@dnhatn
Copy link
Member

@dnhatn dnhatn commented Mar 29, 2024

This commit introduced a transport version for the new tsid hash, which was missing in #98023. At the time, the latest version was ASYNC_SEARCH_STATUS_SUPPORTS_KEEP_ALIVE = def(8_582_00_0). Therefore, I introduced a new version: TransportVersion TIME_SERIES_ID_HASHING = def(8_582_10_0). This change aims to minimize potential issues during upgrades from 8.13.0 to later versions in serverless.

public static final TransportVersion ASYNC_SEARCH_STATUS_SUPPORTS_KEEP_ALIVE = def(8_582_00_0);

Relates #98023
Relates #106878

@dnhatn dnhatn added >non-issue :StorageEngine/Downsampling Downsampling (replacement for rollups) - Turn fine-grained time-based data into coarser-grained data labels Mar 29, 2024
@dnhatn dnhatn marked this pull request as ready for review March 29, 2024 05:39
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

@kkrik-es
Copy link
Contributor

I was thinking the same.. Let's also double-check with @thecoop, this needs to be backported to 8.13.

@kkrik-es kkrik-es requested a review from thecoop March 29, 2024 05:47
@dnhatn
Copy link
Member Author

dnhatn commented Mar 29, 2024

Thanks @kkrik-es. I have a PR opened for 8.13: #106897

public static final TransportVersion DESIRED_NODE_VERSION_OPTIONAL_STRING = def(8_580_00_0);
public static final TransportVersion ML_INFERENCE_REQUEST_INPUT_TYPE_UNSPECIFIED_ADDED = def(8_581_00_0);
public static final TransportVersion ASYNC_SEARCH_STATUS_SUPPORTS_KEEP_ALIVE = def(8_582_00_0);
public static final TransportVersion TIME_SERIES_ID_HASHING = def(8_582_10_0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as #106897, wrong "part" :)

@ChrisHegarty
Copy link
Contributor

ChrisHegarty commented Mar 29, 2024

While not incorrect, I don't see that this PR is strictly necessary.

The changes proposed here will eventually be effectively reverted when the transient transport versions are cleaned up - version ranges between that of values that match actual on-prem releases. And the underlying issue has been around for so long that I don't see any obvious issues related to serverless upgrades.

@dnhatn
Copy link
Member Author

dnhatn commented Mar 29, 2024

Thanks everyone!

@dnhatn dnhatn closed this Mar 29, 2024
@dnhatn dnhatn deleted the harden-transport-version branch March 29, 2024 16:22
@dnhatn dnhatn removed >non-issue :StorageEngine/Downsampling Downsampling (replacement for rollups) - Turn fine-grained time-based data into coarser-grained data Team:StorageEngine v8.14.0 labels Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants