Policy with redundant filters/selectors should fail to decode #150

Closed
opened 2023-08-22 16:06:34 +00:00 by fyrchik · 1 comment
Owner

REP 1 SELECT 4 FROM * selects 3 nodes because of the default CBF. SELECT is unused. Let's return an error in such situations.
I am considering this a bug, because it is rarely a user intention to put garbage in the policy and our behaviour is unexpected.

`REP 1 SELECT 4 FROM *` selects 3 nodes because of the default CBF. `SELECT` is unused. Let's return an error in such situations. I am considering this a bug, because it is rarely a user intention to put garbage in the policy and our behaviour is unexpected.
fyrchik added the
good first issue
label 2023-08-22 16:06:43 +00:00
fyrchik added the
bug
label 2023-08-22 16:12:16 +00:00
Author
Owner

Nice error message would be nice, like suggesting to use AS ... and REP 1 IN ...

Nice error message would be nice, like suggesting to use `AS ...` and `REP 1 IN ...`
acid-ant was assigned by fyrchik 2023-08-23 10:52:37 +00:00
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: TrueCloudLab/frostfs-sdk-go#150
No description provided.