Skip to content

Conversation

@szetszwo
Copy link
Contributor

@szetszwo szetszwo commented Oct 7, 2024

RATIS-2164

This is mainly fixing the first two problem mentioned in #1156

  1. LeakDetector: asserted allLeaks is non-empty but printed "allLeaks.size = 0"
    • Another bug: Trackers can be considered as a leak without calling retain(). Without calling retain() at all, it is not a leak.
  2. SimpleTracing and AdvancedTracing: the methods should be synchronized.
    • Minor presentation problem: AdvancedTracing should have a single track list instead of two lists: retainsTraces and releaseTraces.

@szetszwo
Copy link
Contributor Author

szetszwo commented Oct 7, 2024

@duongkame , @133tosakarin , @OneSizeFitsQuorum , @adoroszlai , please take a look.

@szetszwo
Copy link
Contributor Author

szetszwo commented Oct 7, 2024

The failures are expected since it needs the other fixes described in #1156

@szetszwo
Copy link
Contributor Author

@OneSizeFitsQuorum , @adoroszlai , we need a committer review approval for this. With this and RATIS-2173, the tests will be much easier to pass (although there may be still some undiscovered bugs.)

@szetszwo
Copy link
Contributor Author

@adoroszlai , thanks a lot for reviewing this!

Although the test failures are unrelated, let's rerun them one more time.

@szetszwo szetszwo merged commit a15bde1 into apache:master Oct 16, 2024
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.

3 participants