You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same as #11226, we use alias to rollover the index, and restore the index as a searchable snapshot index, the restored searchable snapshot index is read-only, and share the same alias with the rollover index. But rollover operation will check the indices using the alias, and is blocked by METADATA_WRITE,
[FORBIDDEN/13/remote index is read-only];index [remote-index1-000006] blocked by: [FORBIDDEN/13/remote index is read-only];index [remote-index1-000001] blocked by: [FORBIDDEN/13/remote index is read-only];index [remote-index1-000002] blocked by: [FORBIDDEN/13/remote index is read-only];
Related component
Search:Searchable Snapshots
To Reproduce
create index:
PUT nginxlogs-000001/_settings
{
"index": {
"blocks.read_only":"true"
}
}
rollover
POST nginxlogs/_rollover
set the first index read-only
PUT nginxlogs-000001/_settings
{
"index": {
"blocks.read_only":"true"
}
}
rollover and throw exception.
POST nginxlogs/_rollover
index [nginxlogs-000001] blocked by: [FORBIDDEN/5/index read-only (api)]
Expected behavior
rollover is ok
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
OS: [e.g. iOS]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Same as #11226, we use alias to rollover the index, and restore the index as a searchable snapshot index, the restored searchable snapshot index is read-only, and share the same alias with the rollover index. But rollover operation will check the indices using the alias, and is blocked by
METADATA_WRITE
,Related component
Search:Searchable Snapshots
To Reproduce
rollover
POST nginxlogs/_rollover
set the first index read-only
Expected behavior
rollover is ok
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: