Skip to content

Remove unused ConnectTransportException#node#80944

Merged
DaveCTurner merged 1 commit intoelastic:masterfrom
DaveCTurner:2021-11-23-remove-unused-ConnectTransportException#node
Nov 23, 2021
Merged

Remove unused ConnectTransportException#node#80944
DaveCTurner merged 1 commit intoelastic:masterfrom
DaveCTurner:2021-11-23-remove-unused-ConnectTransportException#node

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

ConnectTransportException#node is only used in a couple of assertions
in tests, but those assertions are either unnecessary or can be
rewritten without it so this field is effectively unused. This commit
removes it.

`ConnectTransportException#node` is only used in a couple of assertions
in tests, but those assertions are either unnecessary or can be
rewritten without it so this field is effectively unused. This commit
removes it.
@DaveCTurner DaveCTurner added >non-issue :Distributed/Network Http and internode communication implementations v8.1.0 labels Nov 23, 2021
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team. label Nov 23, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

Copy link
Copy Markdown
Contributor

@arteam arteam left a comment

Choose a reason for hiding this comment

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

LGTM!

@DaveCTurner DaveCTurner merged commit 49feb65 into elastic:master Nov 23, 2021
@DaveCTurner DaveCTurner deleted the 2021-11-23-remove-unused-ConnectTransportException#node branch November 23, 2021 16:55
@DaveCTurner
Copy link
Copy Markdown
Member Author

Thanks both

DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Nov 23, 2021
Today we use `writeBoolean(false);` to write to a `StreamOutput` an
optional value that is always missing. It's something of an
implementation detail that a missing value is indicated by a `false`
(i.e. a zero byte) so this commit wraps these calls in methods that
better indicate the intent.

Relates elastic#80944
Relates elastic#80692
DaveCTurner added a commit that referenced this pull request Nov 23, 2021
Today we use `writeBoolean(false);` to write to a `StreamOutput` an
optional value that is always missing. It's something of an
implementation detail that a missing value is indicated by a `false`
(i.e. a zero byte) so this commit wraps these calls in methods that
better indicate the intent.

Relates #80944
Relates #80692
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)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Network Http and internode communication implementations >non-issue Team:Distributed Meta label for distributed team. v8.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants