Skip to content

TARDA-2840 Refactor DBMDataRef for thread-safe annotation access and memory-efficient size limiting#327

Merged
jfitie merged 6 commits intodevelopfrom
feature/datareffixes
Aug 27, 2025
Merged

TARDA-2840 Refactor DBMDataRef for thread-safe annotation access and memory-efficient size limiting#327
jfitie merged 6 commits intodevelopfrom
feature/datareffixes

Conversation

@jfitie
Copy link
Copy Markdown
Member

@jfitie jfitie commented Aug 27, 2025

No description provided.

jfitie added 3 commits August 27, 2025 08:46
Signed-off-by: Johan Fitié <jfitie@gmail.com>
… exceeded

Signed-off-by: Johan Fitié <jfitie@gmail.com>
Signed-off-by: Johan Fitié <jfitie@gmail.com>
@jfitie jfitie marked this pull request as draft August 27, 2025 07:35
@jfitie jfitie self-assigned this Aug 27, 2025
…ad of random removal

Signed-off-by: Johan Fitié <jfitie@gmail.com>
@jfitie jfitie changed the base branch from master to develop August 27, 2025 08:09
jfitie added 2 commits August 27, 2025 10:12
Signed-off-by: Johan Fitié <jfitie@gmail.com>
Signed-off-by: Johan Fitié <jfitie@gmail.com>
@jfitie jfitie marked this pull request as ready for review August 27, 2025 09:22
@jfitie jfitie merged commit d223cda into develop Aug 27, 2025
1 check passed
@jfitie jfitie deleted the feature/datareffixes branch August 27, 2025 09:23
jfitie added a commit that referenced this pull request Aug 27, 2025
…memory-efficient size limiting (#327) (#328)

* Thread-safe access to _annotations in DBMDataRef using lock



* Limit _annotations dictionary size to 10,000 by removing entries when exceeded



* Refactor to use constant for maximum annotations size



* Refactor _annotations to use SortedDictionary for FIFO eviction instead of random removal



* Limit line length correctly



* Update copyright year, change maximum number of annotations



---------

Signed-off-by: Johan Fitié <jfitie@gmail.com>
jfitie added a commit that referenced this pull request Aug 27, 2025
…memory-efficient size limiting (#327) (#328) (#329)

* Thread-safe access to _annotations in DBMDataRef using lock



* Limit _annotations dictionary size to 10,000 by removing entries when exceeded



* Refactor to use constant for maximum annotations size



* Refactor _annotations to use SortedDictionary for FIFO eviction instead of random removal



* Limit line length correctly



* Update copyright year, change maximum number of annotations



---------

Signed-off-by: Johan Fitié <jfitie@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant