majialong

Results 5 issues of majialong

### Which Issue(s) This PR Fixes Fixes #9885 ### Brief Description Use the correct methods to collect `GAUGE_CACHE_COUNT` and `GAUGE_CACHE_BYTES` metrics. ### How Did You Test This Change? unit test

### Before Creating the Bug Report - [x] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions). - [x] I have searched the...

### Which Issue(s) This PR Fixes Fixes #9832 ### Brief Description Clean up test directories in some RocksDB unit tests ### How Did You Test This Change? unit test and...

### Before Creating the Enhancement Request - [x] I have confirmed that this should be classified as an enhancement rather than a bug/feature. ### Summary Ensure test directories are cleaned...

type/enhancement

The test `testMonitorableSinkConnectorAndTask` is flaky due to a race condition between the task thread and the test thread. The `awaitRecords()` method uses a `CountDownLatch` that counts down in `TestableSinkTask.put()` for...

connect
tests
ci-approved
small