Skip to content
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

TSDB: fix error without feature flag #80945

Merged
merged 1 commit into from
Nov 23, 2021

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Nov 23, 2021

When you haven't enable the tsdb feature flag we would refuse to start.
That's bad because we will likely release with the feature flag
disabled. This should get us starting again. It fixes:

  • We tried to register a settings update consumer for the end_time for
    the tsdb index even when the end_time setting wasn't registered.
  • Pass the feature flag to internal cluster tests.

@nik9000 nik9000 added >test Issues or PRs that are addressing/adding tests test-release Trigger CI checks against release build v8.1.0 labels Nov 23, 2021
@nik9000
Copy link
Member Author

nik9000 commented Nov 23, 2021

I wrote the PR description of this in list form because I'm fairly sure I'll bump into other things that'll fail the elasticsearch-ci/release-tests build and I'll bundle them into this.

@nik9000 nik9000 force-pushed the tsdb_end_time_feature_flag branch from d05dc4d to 0a3d64f Compare November 23, 2021 14:32
@nik9000 nik9000 added the :StorageEngine/TSDB You know, for Metrics label Nov 23, 2021
@elasticmachine elasticmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Nov 23, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (Team:Analytics)

When you haven't enable the tsdb feature flag we would refuse to start.
That's bad because we will likely release with the feature flag
disabled. This should get us starting again. It fixes:

* We tried to register a settings update consumer for the `end_time` for
  the tsdb index even when the `end_time` setting wasn't registered.
* Pass the tsdb feature flag to internal cluster tests.
@nik9000
Copy link
Member Author

nik9000 commented Nov 23, 2021

run elasticsearch-ci/release-tests

Copy link
Contributor

@imotov imotov left a comment

Choose a reason for hiding this comment

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

LGTM

@nik9000 nik9000 merged commit 27e1e5b into elastic:master Nov 23, 2021
weizijun added a commit to weizijun/elasticsearch that referenced this pull request Nov 24, 2021
* upstream/master: (29 commits)
  Fix typo (elastic#80925)
  Increase docker compose timeouts for CI builds
  TSDB: fix error without feature flag (elastic#80945)
  [DOCS] Relocate `index.mapping.dimension_fields.limit` setting docs (elastic#80964)
  Explicit write methods for always-missing values (elastic#80958)
  TSDB: move TimeSeriesModeIT to yaml tests (elastic#80933)
  [ML] Removing temporary debug (elastic#80956)
  Remove unused ConnectTransportException#node (elastic#80944)
  Reinterpret dots in field names as object structure (elastic#79922)
  Remove obsolete typed legacy index templates (elastic#80937)
  Remove unnecessary shuffle in unassigned shards allocation. (elastic#65172)
  TSDB: Tests for nanosecond timeprecision timestamp just beyond the limit (elastic#80932)
  Cleanup SLM History Item .equals (elastic#80938)
  Rework breaking changes for new structure (elastic#80907)
  [DOCS] Fix elasticsearch-reset-password typo (elastic#80919)
  [ML] No need to use parent task client when internal infer delegates (elastic#80905)
  Fix shadowed vars pt6 (elastic#80899)
  add ignore info (elastic#80924)
  Fix several potential circuit breaker leaks in Aggregators (elastic#79676)
  Extract more standard metadata from binary files (elastic#78754)
  ...
weizijun added a commit to weizijun/elasticsearch that referenced this pull request Nov 24, 2021
* upstream/master: (319 commits)
  Fix typo (elastic#80925)
  Increase docker compose timeouts for CI builds
  TSDB: fix error without feature flag (elastic#80945)
  [DOCS] Relocate `index.mapping.dimension_fields.limit` setting docs (elastic#80964)
  Explicit write methods for always-missing values (elastic#80958)
  TSDB: move TimeSeriesModeIT to yaml tests (elastic#80933)
  [ML] Removing temporary debug (elastic#80956)
  Remove unused ConnectTransportException#node (elastic#80944)
  Reinterpret dots in field names as object structure (elastic#79922)
  Remove obsolete typed legacy index templates (elastic#80937)
  Remove unnecessary shuffle in unassigned shards allocation. (elastic#65172)
  TSDB: Tests for nanosecond timeprecision timestamp just beyond the limit (elastic#80932)
  Cleanup SLM History Item .equals (elastic#80938)
  Rework breaking changes for new structure (elastic#80907)
  [DOCS] Fix elasticsearch-reset-password typo (elastic#80919)
  [ML] No need to use parent task client when internal infer delegates (elastic#80905)
  Fix shadowed vars pt6 (elastic#80899)
  add ignore info (elastic#80924)
  Fix several potential circuit breaker leaks in Aggregators (elastic#79676)
  Extract more standard metadata from binary files (elastic#78754)
  ...
nik9000 pushed a commit that referenced this pull request Jan 6, 2022
fix as the #80945 do.

register a settings update consumer for the end_time for
the tsdb index even when the end_time setting wasn't registered.
Pass the feature flag to reindex yaml tests.

Co-authored-by: Igor Motov <[email protected]>
astefan pushed a commit to astefan/elasticsearch that referenced this pull request Jan 7, 2022
fix as the elastic#80945 do.

register a settings update consumer for the end_time for
the tsdb index even when the end_time setting wasn't registered.
Pass the feature flag to reindex yaml tests.

Co-authored-by: Igor Motov <[email protected]>
astefan pushed a commit to astefan/elasticsearch that referenced this pull request Jan 7, 2022
fix as the elastic#80945 do.

register a settings update consumer for the end_time for
the tsdb index even when the end_time setting wasn't registered.
Pass the feature flag to reindex yaml tests.

Co-authored-by: Igor Motov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:StorageEngine/TSDB You know, for Metrics Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests test-release Trigger CI checks against release build v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants