Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trash #177

Open
wants to merge 3 commits into
base: trunk
Choose a base branch
from
Open

trash #177

wants to merge 3 commits into from

Conversation

ekaterinadimitrova2
Copy link
Owner

No description provided.

patch by Tatu Saloranta; reviewed by Ekaterina Dimitrova, Brandon Williams, Michael Semb Wever for CASSANDRA-16851
ekaterinadimitrova2 pushed a commit that referenced this pull request May 30, 2024
…usage (#177)

* STAR-745: Add BloomFilter global memory limit

Added a memory limiter which is a global instance (static field in BloomFilter) which monitors
the total memory used by all created (and deserialized) Bloom filters. When the limit is reached
we return a dummy always-true filter with a log error message.

* STAR-745: Recreate Bloom filter on startup

In certain situations BF will be recreated on startup (for example, if FP chance changed
more than the defined tolerance).

Reviewed by: Daniel Jatnieks <[email protected]>

Co-authored-by: Stefania Alborghetti <[email protected]>
(cherry picked from commit c1a2595)
(cherry picked from commit a75b01a)
(cherry picked from commit de52f5c)
(cherry picked from commit 1a0ae2c)
(cherry picked from commit 191305d)
ekaterinadimitrova2 pushed a commit that referenced this pull request May 30, 2024
…usage (#177)

* STAR-745: Add BloomFilter global memory limit

Added a memory limiter which is a global instance (static field in BloomFilter) which monitors
the total memory used by all created (and deserialized) Bloom filters. When the limit is reached
we return a dummy always-true filter with a log error message.

* STAR-745: Recreate Bloom filter on startup

In certain situations BF will be recreated on startup (for example, if FP chance changed
more than the defined tolerance).

Reviewed by: Daniel Jatnieks <[email protected]>

Co-authored-by: Stefania Alborghetti <[email protected]>
(cherry picked from commit c1a2595)
(cherry picked from commit a75b01a)
(cherry picked from commit de52f5c)
(cherry picked from commit 1a0ae2c)
(cherry picked from commit 191305d)
(cherry picked from commit 140d446)
(cherry picked from commit ed14633)
ekaterinadimitrova2 pushed a commit that referenced this pull request Jun 3, 2024
…usage (#177)

* STAR-745: Add BloomFilter global memory limit

Added a memory limiter which is a global instance (static field in BloomFilter) which monitors
the total memory used by all created (and deserialized) Bloom filters. When the limit is reached
we return a dummy always-true filter with a log error message.

* STAR-745: Recreate Bloom filter on startup

In certain situations BF will be recreated on startup (for example, if FP chance changed
more than the defined tolerance).

Reviewed by: Daniel Jatnieks <[email protected]>

Co-authored-by: Stefania Alborghetti <[email protected]>
(cherry picked from commit c1a2595)
(cherry picked from commit a75b01a)
(cherry picked from commit de52f5c)
(cherry picked from commit 1a0ae2c)
(cherry picked from commit 191305d)
(cherry picked from commit 140d446)
(cherry picked from commit ed14633)
(cherry picked from commit 82e6816)

STAR-745 Fix compile issues and adapt memory limiter use in BloomFilterSerializer.

(cherry picked from commit 69d1545)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant