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
When a new file is created in CompositeDirectory, its reference count is increased by 1 in the FileCache. This count is normally decreased when the file is uploaded to remote storage. However, for replica shards, a segment_n file is created but never uploaded, leaving its reference count at 1. This causes problems during index deletion, as some files can't be deleted due to non-zero references.
We need to evaluate two options:
Prevent file creation on replica shards for CompositeDirectory.
If files must be created on replica shards, ensure they don't have non-zero references in the FileCache.
This issue affects clean index deletion and may lead to resource leaks if not addressed.
Describe the bug
When a new file is created in CompositeDirectory, its reference count is increased by 1 in the FileCache. This count is normally decreased when the file is uploaded to remote storage. However, for replica shards, a segment_n file is created but never uploaded, leaving its reference count at 1. This causes problems during index deletion, as some files can't be deleted due to non-zero references.
We need to evaluate two options:
This issue affects clean index deletion and may lead to resource leaks if not addressed.
Meta Issue: #13149
Related component
No response
To Reproduce
Expected behavior
.
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: