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

[ISSUE #1000]✨Add RocketMQTokioRwLock and RocketMQTokioMutex for rocketmq crate🎨 #1001

Merged
merged 9 commits into from
Sep 26, 2024

Conversation

mxsm
Copy link
Owner

@mxsm mxsm commented Sep 26, 2024

Which Issue(s) This PR Fixes(Closes)

Fixes #1000

Brief Description

How Did You Test This Change?

Summary by CodeRabbit

  • New Features

    • Introduced a new module for asynchronous locking mechanisms: rocketmq_tokio_lock.
    • Added RocketMQTokioMutex for exclusive access control.
    • Added RocketMQTokioRwLock for concurrent read and write access, with timeout options.
  • Bug Fixes

    • Enhanced synchronization mechanisms to improve efficiency in asynchronous environments.

Copy link
Contributor

coderabbitai bot commented Sep 26, 2024

Walkthrough

The changes introduce a new module, rocketmq_tokio_lock, to the rocketmq library, which includes two new synchronization primitives: RocketMQTokioMutex and RocketMQTokioRwLock. These types are designed for asynchronous programming with the Tokio runtime and provide mechanisms for managing concurrent access to shared data. The existing functionality of the library remains unchanged, but the public API is expanded to include these new locking features.

Changes

Files Change Summary
rocketmq/src/lib.rs Added new module rocketmq_tokio_lock and re-exported RocketMQTokioMutex and RocketMQTokioRwLock.
rocketmq/src/rocketmq_tokio_lock.rs Introduced RocketMQTokioRwLock and RocketMQTokioMutex with various methods for asynchronous locking and testing.

Assessment against linked issues

Objective Addressed Explanation
Add RocketMQTokioRwLock and RocketMQTokioMutex for rocketmq crate (#1000)

Possibly related PRs

Suggested labels

approved

Poem

🐇 In the land of code where bunnies hop,
New locks are here, they’ll never stop!
With RwLock and Mutex in sight,
Asynchronous dreams take flight!
Hooray for changes, let’s all cheer,
For safe access, we hold dear! 🌟


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@mxsm
Copy link
Owner Author

mxsm commented Sep 26, 2024

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 9

🧹 Outside diff range and nitpick comments (6)
rocketmq/src/lib.rs (3)

17-17: Approve new module addition and suggest documentation.

The addition of the rocketmq_tokio_lock module aligns with the PR objectives. This module likely contains the new synchronization primitives RocketMQTokioMutex and RocketMQTokioRwLock.

Consider adding a brief doc comment above this line to explain the purpose of this module, e.g.:

/// Module containing Tokio-based synchronization primitives for RocketMQ.
pub mod rocketmq_tokio_lock;

21-21: Approve re-export and suggest documentation.

The re-export of RocketMQTokioMutex improves the ergonomics of the crate by allowing users to access this type directly from the crate root.

Consider adding a brief doc comment above this line to explain the purpose of this type, e.g.:

/// A Tokio-based mutex for use in RocketMQ operations.
pub use rocketmq_tokio_lock::RocketMQTokioMutex;

22-22: Approve re-export and suggest documentation.

The re-export of RocketMQTokioRwLock is consistent with the previous re-export and provides easy access to this type from the crate root.

Consider adding a brief doc comment above this line to explain the purpose of this type, e.g.:

/// A Tokio-based read-write lock for use in RocketMQ operations.
pub use rocketmq_tokio_lock::RocketMQTokioRwLock;
rocketmq/src/rocketmq_tokio_lock.rs (3)

21-23: Consider deriving Debug and Clone for RocketMQTokioRwLock.

Currently, RocketMQTokioRwLock does not implement the Debug or Clone traits. Implementing these traits can enhance usability, especially when debugging or when instances of the lock need to be cloned.

You can derive these traits as follows:

+#[derive(Debug, Clone)]
 pub struct RocketMQTokioRwLock<T: ?Sized> {
     lock: tokio::sync::RwLock<T>,
 }

139-141: Consider deriving Debug and Clone for RocketMQTokioMutex.

Similarly to RocketMQTokioRwLock, implementing Debug and Clone for RocketMQTokioMutex improves usability.

You can derive these traits as follows:

+#[derive(Debug, Clone)]
 pub struct RocketMQTokioMutex<T: ?Sized> {
     lock: tokio::sync::Mutex<T>,
 }

299-302: Potential unintended sleep duration in test try_write_timeout_fails_after_timeout.

In the test, the sleep duration is set to 10 milliseconds, but the timeout for acquiring the write lock is 2 milliseconds. This may lead to flaky tests due to tight timing.

Consider increasing the sleep duration or adjusting the timeout to ensure consistent test results.

 tokio::spawn(async move {
     let write_guard = lock.read().await;
     tx.send(()).unwrap();
-    tokio::time::sleep(Duration::from_millis(10)).await;
+    tokio::time::sleep(Duration::from_millis(50)).await;
     drop(write_guard);
 });

And adjust the timeout:

 let write_guard = arc.try_write_timeout(Duration::from_millis(2)).await;
+// Increase timeout to reduce flakiness
+let write_guard = arc.try_write_timeout(Duration::from_millis(20)).await;
 assert!(write_guard.is_none());
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 306fafe and 77bd1fc.

📒 Files selected for processing (2)
  • rocketmq/src/lib.rs (1 hunks)
  • rocketmq/src/rocketmq_tokio_lock.rs (1 hunks)

Comment on lines +17 to +22
pub mod rocketmq_tokio_lock;

/// Re-export rocketmq main.
pub use rocketmq::main;
pub use rocketmq_tokio_lock::RocketMQTokioMutex;
pub use rocketmq_tokio_lock::RocketMQTokioRwLock;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codebase verification

Tests for RocketMQTokioMutex and RocketMQTokioRwLock are missing.

While the implementation of the new synchronization primitives has been added, there are no corresponding unit tests to verify their functionality. Please add comprehensive tests to ensure their reliability and correctness.

🔗 Analysis chain

Verify implementation and suggest testing.

The changes successfully introduce the new synchronization primitives as outlined in the PR objectives. The additions are consistent with the existing code structure and improve the crate's API.

To ensure the correctness and completeness of the implementation:

  1. Verify the implementation of RocketMQTokioMutex and RocketMQTokioRwLock in the rocketmq_tokio_lock module.
  2. Ensure comprehensive unit tests are in place for these new types.

Run the following script to check for the implementation and tests:

If the implementation or tests are missing, please add them to ensure the reliability and correctness of these new synchronization primitives.


Comment on lines 211 to 372
tokio::spawn(async move {
let _read_guard = lock.write().await;
tx.send(()).unwrap();
tokio::time::sleep(Duration::from_millis(10)).await;
drop(_read_guard);
});
rx.await.unwrap();
let read_guard = arc.try_read_timeout(Duration::from_millis(2)).await;
assert!(read_guard.is_none());
}

#[tokio::test]
async fn try_write_timeout_succeeds_within_timeout() {
let lock = RocketMQTokioRwLock::new(5);
let write_guard = lock.try_write_timeout(Duration::from_millis(100)).await;
assert!(write_guard.is_some());
*write_guard.unwrap() = 10;
assert_eq!(*lock.read().await, 10);
}

#[tokio::test]
async fn try_write_timeout_fails_after_timeout() {
let lock = Arc::new(RocketMQTokioRwLock::new(5));
let arc = lock.clone();
let (tx, rx) = tokio::sync::oneshot::channel();
tokio::spawn(async move {
let write_guard = lock.read().await;
tx.send(()).unwrap();
tokio::time::sleep(Duration::from_millis(10)).await;
drop(write_guard);
});
rx.await.unwrap();
let write_guard = arc.try_write_timeout(Duration::from_millis(2)).await;
assert!(write_guard.is_none());
}

#[tokio::test]
async fn new_creates_mutex_instance() {
let mutex = RocketMQTokioMutex::new(5);
let guard = mutex.lock().await;
assert_eq!(*guard, 5);
}

#[tokio::test]
async fn lock_acquires_lock_and_allows_mutation() {
let mutex = RocketMQTokioMutex::new(5);
{
let mut guard = mutex.lock().await;
*guard = 10;
}
let guard = mutex.lock().await;
assert_eq!(*guard, 10);
}

#[tokio::test]
async fn try_lock_acquires_lock_if_available() {
let mutex = RocketMQTokioMutex::new(5);
let guard = mutex.try_lock().await;
assert!(guard.is_some());
assert_eq!(*guard.unwrap(), 5);
}

#[tokio::test]
async fn try_lock_returns_none_if_unavailable() {
let mutex = Arc::new(RocketMQTokioMutex::new(5));
let arc = mutex.clone();
let (tx, rx) = tokio::sync::oneshot::channel();
tokio::spawn(async move {
let _guard = arc.lock().await;
tx.send(()).unwrap();
tokio::time::sleep(Duration::from_millis(10)).await;
});
rx.await.unwrap();
let guard = mutex.try_lock().await;
assert!(guard.is_none());
}

#[tokio::test]
async fn try_lock_timeout_succeeds_within_timeout() {
let mutex = RocketMQTokioMutex::new(5);
let guard = mutex.try_lock_timeout(Duration::from_millis(100)).await;
assert!(guard.is_some());
assert_eq!(*guard.unwrap(), 5);
}

#[tokio::test]
async fn try_lock_timeout_fails_after_timeout() {
let mutex = Arc::new(RocketMQTokioMutex::new(5));
let arc = mutex.clone();
let (tx, rx) = tokio::sync::oneshot::channel();
tokio::spawn(async move {
let _guard = arc.lock().await;
tx.send(()).unwrap();
tokio::time::sleep(Duration::from_millis(10)).await;
});
rx.await.unwrap();
let guard = mutex.try_lock_timeout(Duration::from_millis(2)).await;
assert!(guard.is_none());
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Enhance test coverage with additional scenarios.

While the tests cover basic functionality, consider adding tests for edge cases and error conditions, such as:

  • Testing behavior when locks are contended.
  • Verifying that timeouts occur as expected.
  • Testing with !Send and !Sync types if applicable.

Add tests that simulate multiple concurrent tasks attempting to acquire the locks and verify correct behavior under contention.

rocketmq/src/rocketmq_tokio_lock.rs Outdated Show resolved Hide resolved
rocketmq/src/rocketmq_tokio_lock.rs Outdated Show resolved Hide resolved
rocketmq/src/rocketmq_tokio_lock.rs Outdated Show resolved Hide resolved
rocketmq/src/rocketmq_tokio_lock.rs Outdated Show resolved Hide resolved
rocketmq/src/rocketmq_tokio_lock.rs Outdated Show resolved Hide resolved
rocketmq/src/rocketmq_tokio_lock.rs Outdated Show resolved Hide resolved
rocketmq/src/rocketmq_tokio_lock.rs Outdated Show resolved Hide resolved
Copy link

codecov bot commented Sep 26, 2024

Codecov Report

Attention: Patch coverage is 98.03922% with 4 lines in your changes missing coverage. Please review.

Project coverage is 19.96%. Comparing base (d4b06ce) to head (0650dd4).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
rocketmq/src/rocketmq_tokio_lock.rs 98.03% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1001      +/-   ##
==========================================
+ Coverage   19.49%   19.96%   +0.46%     
==========================================
  Files         412      413       +1     
  Lines       34237    34441     +204     
==========================================
+ Hits         6676     6875     +199     
- Misses      27561    27566       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@mxsm
Copy link
Owner Author

mxsm commented Sep 26, 2024

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@mxsm
Copy link
Owner Author

mxsm commented Sep 26, 2024

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@mxsm
Copy link
Owner Author

mxsm commented Sep 26, 2024

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@mxsm
Copy link
Owner Author

mxsm commented Sep 26, 2024

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥

mxsm and others added 2 commits September 26, 2024 11:27
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@mxsm
Copy link
Owner Author

mxsm commented Sep 26, 2024

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@mxsm
Copy link
Owner Author

mxsm commented Sep 26, 2024

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥

1 similar comment
@mxsm
Copy link
Owner Author

mxsm commented Sep 26, 2024

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥

@mxsm
Copy link
Owner Author

mxsm commented Sep 26, 2024

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 46ace35 and 0650dd4.

📒 Files selected for processing (1)
  • rocketmq/src/rocketmq_tokio_lock.rs (1 hunks)
🧰 Additional context used
GitHub Check: codecov/patch
rocketmq/src/rocketmq_tokio_lock.rs

[warning] 85-85: rocketmq/src/rocketmq_tokio_lock.rs#L85
Added line #L85 was not covered by tests


[warning] 98-98: rocketmq/src/rocketmq_tokio_lock.rs#L98
Added line #L98 was not covered by tests


[warning] 284-284: rocketmq/src/rocketmq_tokio_lock.rs#L284
Added line #L284 was not covered by tests


[warning] 309-309: rocketmq/src/rocketmq_tokio_lock.rs#L309
Added line #L309 was not covered by tests

🔇 Additional comments not posted (1)
rocketmq/src/rocketmq_tokio_lock.rs (1)

1-381: Overall, well-implemented synchronization primitives with room for minor improvements.

The implementation of RocketMQTokioRwLock and RocketMQTokioMutex is generally well-structured and provides a good abstraction over Tokio's synchronization primitives. The code is clean, well-documented, and includes a comprehensive test suite.

Key strengths:

  1. Proper use of Tokio's async primitives.
  2. Comprehensive API covering various locking scenarios.
  3. Use of ?Sized for flexibility with dynamically sized types.
  4. Extensive test coverage for both normal and edge cases.

Areas for improvement:

  1. Enhanced error handling in try_* methods to provide more detailed error information.
  2. More robust concurrent tests to reduce the likelihood of flaky tests.
  3. Improved code coverage for error handling branches.

Addressing these points will further enhance the quality and reliability of the implementation.

🧰 Tools
GitHub Check: codecov/patch

[warning] 85-85: rocketmq/src/rocketmq_tokio_lock.rs#L85
Added line #L85 was not covered by tests


[warning] 98-98: rocketmq/src/rocketmq_tokio_lock.rs#L98
Added line #L98 was not covered by tests


[warning] 284-284: rocketmq/src/rocketmq_tokio_lock.rs#L284
Added line #L284 was not covered by tests


[warning] 309-309: rocketmq/src/rocketmq_tokio_lock.rs#L309
Added line #L309 was not covered by tests

Comment on lines +82 to +87
pub async fn try_read(&self) -> Option<tokio::sync::RwLockReadGuard<'_, T>> {
match self.lock.try_read() {
Ok(guard) => Some(guard),
Err(_) => None,
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Consider enhancing error handling in try_* methods.

The current implementation of try_read, try_write, try_read_timeout, and try_write_timeout methods converts all errors to None. While this simplifies the API, it might hide useful information about why the operation failed (e.g., timeout vs. other errors).

Consider returning a Result type instead of Option for these methods. This would allow callers to distinguish between different error cases. For example:

pub async fn try_read(&self) -> Result<tokio::sync::RwLockReadGuard<'_, T>, TryLockError> {
    self.lock.try_read()
}

pub async fn try_read_timeout(
    &self,
    timeout: Duration,
) -> Result<tokio::sync::RwLockReadGuard<'_, T>, tokio::time::error::Elapsed> {
    tokio::time::timeout(timeout, self.lock.read()).await
}

This change would provide more detailed error information to the caller, allowing for more sophisticated error handling if needed.

Also applies to: 95-100, 116-119, 136-139

🧰 Tools
GitHub Check: codecov/patch

[warning] 85-85: rocketmq/src/rocketmq_tokio_lock.rs#L85
Added line #L85 was not covered by tests

Comment on lines +276 to +289
async fn try_read_timeout_fails_after_timeout() {
let lock = Arc::new(RocketMQTokioRwLock::new(5));
let arc = lock.clone();
let (tx, rx) = tokio::sync::oneshot::channel();
tokio::spawn(async move {
let _read_guard = lock.write().await;
tx.send(()).unwrap();
tokio::time::sleep(Duration::from_millis(10)).await;
drop(_read_guard);
});
rx.await.unwrap();
let read_guard = arc.try_read_timeout(Duration::from_millis(2)).await;
assert!(read_guard.is_none());
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Improve robustness of concurrent tests.

Some of the tests that involve concurrent operations (e.g., try_read_timeout_fails_after_timeout, try_write_timeout_fails_after_timeout, try_lock_returns_none_if_unavailable, try_lock_timeout_fails_after_timeout) rely on sleep durations to simulate timeouts. This approach can lead to flaky tests on slower machines or under high system load.

Consider using synchronization primitives like Barrier or additional channels to ensure that the lock is held before attempting to acquire it in the main test thread. This will make the tests more deterministic and less likely to fail due to timing issues. For example:

#[tokio::test]
async fn try_read_timeout_fails_after_timeout() {
    let lock = Arc::new(RocketMQTokioRwLock::new(5));
    let arc = lock.clone();
    let (tx, rx) = tokio::sync::oneshot::channel();
    let (lock_acquired_tx, lock_acquired_rx) = tokio::sync::oneshot::channel();
    
    tokio::spawn(async move {
        let _read_guard = lock.write().await;
        lock_acquired_tx.send(()).unwrap();
        tx.send(()).unwrap();
        tokio::time::sleep(Duration::from_millis(100)).await;
    });
    
    lock_acquired_rx.await.unwrap(); // Ensure the lock is held
    rx.await.unwrap();
    let read_guard = arc.try_read_timeout(Duration::from_millis(50)).await;
    assert!(read_guard.is_none());
}

This change will make the tests more reliable and less dependent on specific timing.

Also applies to: 301-314, 343-356, 366-380

🧰 Tools
GitHub Check: codecov/patch

[warning] 284-284: rocketmq/src/rocketmq_tokio_lock.rs#L284
Added line #L284 was not covered by tests

pub async fn try_read(&self) -> Option<tokio::sync::RwLockReadGuard<'_, T>> {
match self.lock.try_read() {
Ok(guard) => Some(guard),
Err(_) => None,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Address uncovered code in error handling.

The static analysis tool indicates that some error handling branches are not covered by tests:

  • Line 85: Err(_) => None, in try_read
  • Line 98: Err(_) => None, in try_write
  • Line 284: drop(_read_guard); in try_read_timeout_fails_after_timeout
  • Line 309: drop(write_guard); in try_write_timeout_fails_after_timeout

To improve code coverage:

  1. Add tests that trigger the error conditions in try_read and try_write.
  2. Ensure that the drop statements are executed in the timeout tests by using a smaller sleep duration or a synchronization primitive as suggested in the previous comment.

For example, to test the error case in try_read:

#[tokio::test]
async fn try_read_returns_none_when_write_locked() {
    let lock = RocketMQTokioRwLock::new(5);
    let _write_guard = lock.write().await;
    let read_result = lock.try_read().await;
    assert!(read_result.is_none());
}

Adding these tests will improve the overall robustness of the code and ensure that all paths are properly tested.

Also applies to: 98-98, 284-284, 309-309

🧰 Tools
GitHub Check: codecov/patch

[warning] 85-85: rocketmq/src/rocketmq_tokio_lock.rs#L85
Added line #L85 was not covered by tests

@mxsm mxsm merged commit e0e896f into main Sep 26, 2024
9 of 15 checks passed
@mxsm mxsm deleted the feature-1000 branch September 26, 2024 06:40
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.

[Feature🚀] Add RocketMQTokioRwLock and RocketMQTokioMutex for rocketmq crate
2 participants