Skip to content

[improve] [test] Add test for RangeCache: concurrent delete - #18120

Closed
poorbarcode wants to merge 1 commit into
apache:masterfrom
poorbarcode:pr_18076/test
Closed

poorbarcode wants to merge 1 commit into
apache:masterfrom
poorbarcode:pr_18076/test

Conversation

@poorbarcode

@poorbarcode poorbarcode commented Oct 19, 2022 •

Copy link
Copy Markdown
Contributor

Motivation & Modifications

see: #18076 (review)

Add a test for RangeCache:

  • Both methods RangeCache.removeRange(Comparable, Comparable, boolean) and RangeCache.evictLEntriesBeforeTimestamp(long) are executed concurrently.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@github-actions

Copy link
Copy Markdown

@poorbarcode Please add the following content to your PR description and select a checkbox:

- [ ] `doc` <!-- Your PR contains doc changes -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
- [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->

@poorbarcode poorbarcode changed the title [ci-run][test][ml]Add test for RangeCache: concurrent delete [test] [ml] Add test for RangeCache: concurrent delete Oct 19, 2022
@github-actions github-actions Bot added doc-not-needed Your PR changes do not impact docs and removed doc-label-missing labels Oct 19, 2022
@poorbarcode

poorbarcode commented Oct 19, 2022 •

Copy link
Copy Markdown
Contributor Author

this PR should merge into these branches:

  • master
  • 2.11
  • 2.10
  • 2.9
  • 2.8

@github-actions

Copy link
Copy Markdown

The pr had no activity for 30 days, mark with Stale label.

@github-actions github-actions Bot added the Stale label Dec 11, 2022
@poorbarcode poorbarcode changed the title [test] [ml] Add test for RangeCache: concurrent delete [improve] [test] Add test for RangeCache: concurrent delete Jul 18, 2023
@poorbarcode poorbarcode self-assigned this Jul 18, 2023
@poorbarcode poorbarcode added this to the 3.1.0 milestone Jul 18, 2023
@poorbarcode poorbarcode removed the Stale label Jul 18, 2023
@Technoboy- Technoboy- modified the milestones: 3.1.0, 3.2.0 Jul 31, 2023
@Technoboy- Technoboy- modified the milestones: 3.2.0, 3.3.0 Dec 22, 2023
@coderzc coderzc modified the milestones: 3.3.0, 3.4.0 May 8, 2024
@lhotari

lhotari commented Oct 14, 2024

Copy link
Copy Markdown
Member

please rebase

@lhotari lhotari modified the milestones: 4.0.0, 4.1.0 Oct 14, 2024
@coderzc coderzc modified the milestones: 4.1.0, 4.2.0 Sep 1, 2025
@merlimat

Copy link
Copy Markdown
Contributor

Thanks for this contribution. RangeCache has since been rewritten (#24363) and moved to org.apache.bookkeeper.mledger.impl.cache, so this test no longer applies to the current code. If concurrent-delete coverage is still missing, a new test against the current RangeCache is welcome. This is part of the open-PR cleanup discussed on [email protected].

@merlimat merlimat closed this Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants