Remove container list morph cache #806

Closed
opened 2023-11-15 10:04:45 +00:00 by fyrchik · 0 comments
Owner

Get/DeletionInfo cache has multiple usecases:

  1. Policer iterates over containers sequentially
  2. User load in the same container fetches placement policy

I couldn't come up with similar usecases for List:

  1. Tree service uses list, but for all containers, not for a specific owner. This is not cached (and we don't need, see 072a7d61ab)
  2. Polling for batch removal (control ir remove-container) is a possible usecase, but too narrow anyway.

The sugestion is to remove this cache.

Get/DeletionInfo cache has multiple usecases: 1. Policer iterates over containers sequentially 2. User load in the same container fetches placement policy I couldn't come up with similar usecases for List: 1. Tree service uses list, but for _all_ containers, not for a specific owner. This is not cached (and we don't _need_, see 072a7d61ab11b23e) 2. Polling for batch removal (`control ir remove-container`) is a possible usecase, but too narrow anyway. The sugestion is to remove this cache.
fyrchik added the
frostfs-node
refactoring
discussion
labels 2023-11-15 10:05:01 +00:00
dstepanov-yadro self-assigned this 2023-11-17 05:47:10 +00:00
fyrchik added this to the v0.38.0 milestone 2023-12-22 07:27:29 +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-node#806
No description provided.