Lethannn commented on code in PR #1492:
URL:
https://github.com/apache/incubator-horaedb/pull/1492#discussion_r1513216316
##########
Cargo.toml:
##########
@@ -107,6 +107,7 @@ cluster = { path = "src/cluster" }
criterion = "0.5"
horaedb-client = "1.0.2"
common_types = { path = "src/common_types" }
+dashmap = "5.5.3"
Review Comment:
I'm trying to run 'replay_table_log_entries' concurrently, but I faced an
issue with 'serial_exec_ctxs', which is a mutable reference HashMap. I had to
wrap this by Arc and Mutex, then every time I grap a mutable reference to a
value from the map, it locks the entire map.
DashMap allowing concurrent access to different keys. I wonder if there's an
appoach to make Hashmap work in this case.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]