Skip to content

Conversation

@tlrx
Copy link
Member

@tlrx tlrx commented Oct 28, 2021

Just noticed that the FrozenCacheService contains various settings whose Java static constants have a different prefix: FROZEN_CACHE_*, SNAPSHOT_CACHE_* or SHARED_CACHE_*.

This pull request renames the constants so that they all start with SHARED_CACHE_ which IMO better reflect the name of the component (and setting key).

@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Oct 28, 2021
@elasticmachine
Copy link
Collaborator

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

@tlrx
Copy link
Member Author

tlrx commented Oct 28, 2021

@elasticmachine run elasticsearch-ci/packaging-tests-unix-sample

@tlrx tlrx requested a review from arteam October 28, 2021 12:04
@tlrx tlrx added v8.0.0 and removed v8.0.0-beta1 labels Oct 28, 2021
Copy link
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! Thanks, Tanguy!

@tlrx tlrx merged commit d5f866c into elastic:master Nov 3, 2021
@tlrx tlrx deleted the rename-static-setttings-shared-cache branch November 3, 2021 08:41
@tlrx
Copy link
Member Author

tlrx commented Nov 3, 2021

Thanks Artem!

tlrx added a commit to tlrx/elasticsearch that referenced this pull request Nov 3, 2021
The FrozenCacheService contains various settings whose 
Java static constants have a different prefix: FROZEN_CACHE_*, 
SNAPSHOT_CACHE_* or SHARED_CACHE_*.

This commit renames the constants so that they all start with 
SHARED_CACHE_ prefix.
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.0
7.16 Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 79999

tlrx added a commit to tlrx/elasticsearch that referenced this pull request Nov 3, 2021
The FrozenCacheService contains various settings whose
Java static constants have a different prefix: FROZEN_CACHE_*,
SNAPSHOT_CACHE_* or SHARED_CACHE_*.

This commit renames the constants so that they all start with
SHARED_CACHE_ prefix.
elasticsearchmachine pushed a commit that referenced this pull request Nov 3, 2021
The FrozenCacheService contains various settings whose 
Java static constants have a different prefix: FROZEN_CACHE_*, 
SNAPSHOT_CACHE_* or SHARED_CACHE_*.

This commit renames the constants so that they all start with 
SHARED_CACHE_ prefix.
elasticsearchmachine pushed a commit that referenced this pull request Nov 3, 2021
The FrozenCacheService contains various settings whose
Java static constants have a different prefix: FROZEN_CACHE_*,
SNAPSHOT_CACHE_* or SHARED_CACHE_*.

This commit renames the constants so that they all start with
SHARED_CACHE_ prefix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >non-issue Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v7.16.0 v8.0.0-beta1 v8.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants