cache toctou / next_out #10

Open
opened 2026-06-01 17:01:19 -04:00 by min · 0 comments
Owner

check if above capacity, ( two threads can pass )
they collect all keys, sort, then cut down to the size thats needed ( both threads will have a similar list )
the keys in the list are removed to make room ( which will be many of the same keys )
new upload is added ( only enough room was made for each upload on its own bcz the lists were similar )
then cache is over capacity
? maybe lock during next out idk

check if above capacity, ( two threads can pass ) they collect all keys, sort, then cut down to the size thats needed ( both threads will have a similar list ) the keys in the list are removed to make room ( which will be many of the same keys ) new upload is added ( only enough room was made for each upload on its own bcz the lists were similar ) then cache is over capacity ? maybe lock during next out idk
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 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: min/breeze#10
No description provided.