Skip to content

Commit

Permalink
Fixing using newRepositoryMetadata instead of currentRepositoryMetada…
Browse files Browse the repository at this point in the history
…ta when equalsIgnoreGenerations

Signed-off-by: Dharmesh 💤 <[email protected]>
  • Loading branch information
psychbot committed Sep 19, 2023
1 parent 849d08d commit 323aa6b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Added
- Add metrics for thread_pool task wait time ([#9681](https://github.com/opensearch-project/OpenSearch/pull/9681))
- Async blob read support for S3 plugin ([#9694](https://github.com/opensearch-project/OpenSearch/pull/9694))
- [Remote Store] Introducing concept of RestrictedSystemRepositorySettings for system repository ([#9839](https://github.com/opensearch-project/OpenSearch/pull/9839))
- [Remote Store] Adding support to restrict creation & deletion if system repository and mutation of immutable settings of system repository ([#9839](https://github.com/opensearch-project/OpenSearch/pull/9839))

### Dependencies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public ClusterState execute(ClusterState currentState) {
}
repositoriesMetadata.add(updatedRepositoryMetadata);
} else {
repositoriesMetadata.add(updatedRepositoryMetadata);
repositoriesMetadata.add(repositoryMetadata);
}
}
if (!found) {
Expand Down

0 comments on commit 323aa6b

Please sign in to comment.