Replies: 2 comments 6 replies
-
Hi! I just briefly saw the code (https://github.com/moonrepo/starbase/pull/73/files) and it seems like Given that you haven't encountered a deadlock with In summary, I'd suggest that,
|
Beta Was this translation helpful? Give feedback.
-
I decided to rewrite this crate and go with a different API (moonrepo/starbase#75), so this can probably be closed. |
Beta Was this translation helpful? Give feedback.
-
Hello, great library.
I built this experimental crate called starbase that utilizes scc under the hood but I'm encountering spurious deadlocks. This was originally using dashmap with no issue, but I wanted to try scc as it offered far more functionality.
I've done quite a bit of debugging and when it deadlocks, it happens in areas where drops (locks released?) should of happened, but are not. I can't seem to find anything wrong on my end. I've even tried forcing drops, and switching to async methods (hoping the timing would work better) with no luck: moonrepo/starbase#73
The deadlocks only occur in my project moon, but not in another project proto. Here's a PR where I'm trying to work around it: moonrepo/moon#1474
The starbase implementation is quite a lot, and so is moon. Trying to outline everything in this post would simply be too much. It would great if we could pair on this over chat, or discord, or something.
Beta Was this translation helpful? Give feedback.
All reactions