Implement ape.LocalOverrideStorage using db instance #804

Closed
opened 2023-11-14 18:00:37 +00:00 by aarifullin · 2 comments
Collaborator

After policy engine (ape) will get the revised interface, frostfs-node is required to implement ape.LocalOverrideStorage to keep local overrides in db.

boltdb could be fine for this purpose. However, it is need to take in count that local overrides will be listed very often (per each object request) for chain name (like Ingress) and resource target (container/object). Let's discuss

After policy engine (`ape`) will get the revised [interface](https://git.frostfs.info/TrueCloudLab/policy-engine/pulls/15/files#diff-73bcddb63d5304b12f2db25f6b19d47e9a7252aa), frostfs-node is required to implement `ape.LocalOverrideStorage` to keep local overrides in db. `boltdb` could be fine for this purpose. However, it is need to take in count that local overrides will be listed very often (per each object request) for chain name (like `Ingress`) and resource target (container/object). _Let's discuss_
aarifullin added the
discussion
triage
labels 2023-11-14 18:00:37 +00:00
fyrchik added
frostfs-node
and removed
triage
labels 2023-11-14 19:02:30 +00:00

Let's first implement boltdb backend and then add in-memory cache on top of it.

Let's first implement boltdb backend and then add in-memory cache on top of it.
aarifullin self-assigned this 2023-11-16 07:35:18 +00:00
fyrchik added this to the v0.38.0 milestone 2023-11-17 13:42:32 +00:00
Poster
Collaborator

Implemented: #804

Implemented: https://git.frostfs.info/TrueCloudLab/frostfs-node/issues/804
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
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-node#804
There is no content yet.