"SAME, but different" semantics for selectors #90

Open
opened 2025-12-28 18:12:29 +00:00 by sami · 0 comments
Owner

Originally created by @roman-khimov on GitHub (Jan 27, 2023).

Suppose I've got 5 DCs and I'd like to have a container that stores 2 replicas in one DC with 2 replicas in another DC. And I don't care which ones it's to choose, just so that they would be different. Looks like this intention can't be expressed with current selectors. I can have a selector using SAME, but if I'm to add another one it could use the same DC as the first one. I can use filters, but that'd make my selection stick to some particular DC.

This may be not the most important use case, but still it's a limitation at the moment.

Originally created by @roman-khimov on GitHub (Jan 27, 2023). Suppose I've got 5 DCs and I'd like to have a container that stores 2 replicas in one DC with 2 replicas in another DC. And I don't care which ones it's to choose, just so that they would be different. Looks like this intention can't be expressed with current selectors. I can have a selector using SAME, but if I'm to add another one it could use the same DC as the first one. I can use filters, but that'd make my selection stick to some particular DC. This may be not the most important use case, but still it's a limitation at the moment.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-api#90
No description provided.