-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Use a new synthetic _id format for time-series datastreams #137274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 15 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
e562e8c
Change document _id format for time series datastreams
tlrx 9a9df49
fix bug
tlrx 39e6cd4
Merge branch 'main' into 2025/10/24/new-id-format
tlrx f6234c3
fix remaining bug
tlrx 51d66a3
fix sorting
tlrx 6fd8a69
Merge branch 'main' into 2025/10/24/new-id-format
tlrx 9babebf
Merge branch 'main' into 2025/10/24/new-id-format
tlrx 8cfa2fa
fix compiling and tests
tlrx 46cc58b
Merge branch 'main' into 2025/10/24/new-id-format
tlrx d885dda
fix sort config
tlrx b22f59c
fix sort config
tlrx ab2be04
Merge branch 'main' into 2025/10/24/new-id-format
tlrx 63911a7
Merge branch 'main' into 2025/10/24/new-id-format
tlrx b50b64c
fix merge
tlrx 933e280
compute useTimeSeriesSyntheticId in metadata
tlrx ad94e5d
Merge branch 'main' into 2025/10/24/new-id-format
tlrx 4662f94
remove update
tlrx b3428c7
startDocID >= 0
tlrx 3f81d60
get from searcher
tlrx 15a1e4c
remove comment
tlrx d71316d
timestamp
tlrx 96eb36a
Update docs/changelog/137274.yaml
tlrx 136a267
ensure no postings
tlrx dda5531
Merge branch 'main' into 2025/10/24/new-id-format
tlrx 3b22c46
remove sort
tlrx 6a4a9e1
Merge branch 'main' into 2025/10/24/new-id-format
tlrx 546e23b
remove compound
tlrx 5529733
Merge branch 'main' into 2025/10/24/new-id-format
tlrx 7e82813
Merge branch 'main' into 2025/10/24/new-id-format
tlrx d731f9f
Merge branch 'main' into 2025/10/24/new-id-format
tlrx eb05d57
Merge branch '2025/10/24/new-id-format' of github.com:tlrx/elasticsea…
tlrx 3655dc3
feedback
tlrx 59687e8
Merge branch 'main' into 2025/10/24/new-id-format
tlrx 608ff67
fix setting registration
tlrx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
281 changes: 220 additions & 61 deletions
281
...treams/src/internalClusterTest/java/org/elasticsearch/datastreams/TSDBSyntheticIdsIT.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I wonder if we would see some performance degradation from all this new branching? I won't expect it to be important but I wanted to mention it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this specific branch is OK, but your comment made me think about how the IndexRouting is instanciated, and we don't want to read the
USE_SYNTHETIC_IDsetting for routing every operation.So I pushed 933e280 to compute the
useTimeSeriesSyntheticIdflag once and for all whenIndexMetadataare built, and uses this flag for routing operations.