-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Currently the renameReplacement variable in the restore snapshot request is intended to be a string literal for ccr. However, when a string is passed to replaceAll in java $ and / will be treated as special characters. This means that following indices with $ in them breaks. This commit fixes the issue by quoting the special characters before calling replaceAll. Fixes #99078.
- Loading branch information
1 parent
9aa6c19
commit 657cb5d
Showing
3 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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,6 @@ | ||
pr: 99892 | ||
summary: Support $ and / in restore rename replacements | ||
area: Snapshot/Restore | ||
type: bug | ||
issues: | ||
- 99078 |
This file contains 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 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