-
Notifications
You must be signed in to change notification settings - Fork 25.3k
TSDB: Implement downsampling on time-series indices #85708
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 all commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
94fb431
Remove feature flag es.rollup_v2_feature_flag_enabled
csoulios b8e9d2b
RollupShardIndexer
csoulios 7b7d06b
Cleanup
csoulios 75ce70c
Test should not merge segments
csoulios 98627b1
Refactoring code
csoulios 3215864
Fix wrong timestamp order
csoulios 34f42bd
Cleanup
csoulios 29bc089
Cleanup
csoulios 939a1c0
Removed CompressingOfflineSorter implementation
csoulios 23d39a8
class to record
csoulios 0f40815
Added more tests
csoulios 7a44a68
Refactored rollup action config
csoulios b94e82d
Refactored rollup action config
csoulios e514fbb
Update docs/changelog/85708.yaml
csoulios 219da73
Version updates
csoulios 1a385e7
CI Fixes
csoulios 633abac
checkstyle
csoulios d4daeb8
checkstyle
csoulios 496e00f
Skip some failing tests
csoulios 5a0642c
Fix broken test with wrong index sort order
csoulios d0222f0
Fix ILM test
csoulios b8bdcf9
Merge branch 'master' into tsdb-rollup
csoulios d9c6f6e
Enable test
csoulios ff864f2
Update docs/changelog/85708.yaml
csoulios 0464806
Merge branch 'master' into tsdb-rollup
csoulios 643962f
Pull timestamp from AggregationExecutionContext
csoulios d905038
Remove time_zone param from rollup config
csoulios 29b77bc
Fix build failure
csoulios 6237029
Merge branch 'master' into tsdb-rollup
csoulios a3e3e42
Added validations for rollup request parameters
csoulios 0abece8
Update docs/changelog/85708.yaml
csoulios 5dc065c
Set the number of shards and replicas
csoulios 6a8976a
Validate that index is read-only before rolling up
csoulios d6adb3c
Delete source index after it has been downsampled
csoulios 4492090
Added test and fix for rolling up data stream idx
csoulios fc255f6
minor change
csoulios 2bc4600
More changes
csoulios b10254d
Set max as default_metric for gauge metrics
csoulios 405915b
Merge branch 'master' into tsdb-rollup
csoulios d5de1aa
Minor change to address reviewer comments
csoulios bef7341
Tidy up code for data streams
csoulios af006e4
Changed hashCode
csoulios a1988a9
Merge branch 'master' into tsdb-rollup
csoulios cd23fd7
Return statement after error:
csoulios 7973ca2
Merge branch 'master' into tsdb-rollup
csoulios 98fd352
Merge branch 'master' into tsdb-rollup
csoulios c46b126
Fix compilation error
csoulios fb064c6
Merge branch 'master' into tsdb-rollup
csoulios 3167f92
Merge branch 'master' into tsdb-rollup
csoulios ed94943
Fix broken test
csoulios 48796c2
Merge branch 'master' into tsdb-rollup
csoulios 78d110b
Merge branch 'master' into tsdb-rollup
csoulios f41343b
Compute last_value for metric fields
csoulios 286cdbd
Removed temporary rollup index
csoulios ab1a4d8
Refresh the rollup index in the end
csoulios c22b6ba
Use randomValueOtherThan
csoulios 4327b17
Do not serialize constants in RollupActionConfig
csoulios 86c3347
Add tsdb feature flag
csoulios ed51704
Merge branch 'master' into tsdb-rollup
csoulios 22a7589
minor change
csoulios ee42ef5
Perform the following actions in one state update:
csoulios d7d9b72
Perform batched cluster state update
csoulios 332bef6
Cleanup the mess
csoulios 17eb72b
Merge branch 'master' into tsdb-rollup
csoulios 550a368
More cleanup
csoulios 270ea69
Added feature flag to security tests
csoulios 7197a5f
Added feature flag to build files
csoulios 8b96364
Reverted wrong version bump
csoulios 839a29d
Add the number of indexed docs to the shard response
csoulios de6b766
Added javadoc
csoulios 0f3f827
Merge branch 'master' into tsdb-rollup
csoulios 0ff80dc
Changes to rollup index:
csoulios 7c4c441
Remove org.elasticsearch.rollup from module-info
csoulios 5856f1d
Merge branch 'master' into tsdb-rollup
csoulios 1dd28fd
Added more validation for source index
csoulios 393d7c2
Do not fail rollup if force-merge fails
csoulios bfd9ce9
Merge branch 'master' into tsdb-rollup
csoulios 0a06f41
Merge branch 'master' into tsdb-rollup
csoulios 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
pr: 85708 | ||
summary: "TSDB: Implement downsampling on time-series indices" | ||
area: TSDB | ||
type: feature | ||
issues: | ||
- 69799 | ||
- 65769 |
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
20 changes: 0 additions & 20 deletions
20
server/src/main/java/org/elasticsearch/rollup/RollupV2.java
This file was deleted.
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
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.
Uh oh!
There was an error while loading. Please reload this page.