openraft
openraft copied to clipboard
storage apply entry is single thread ? why this need send && sync trait
if I can unsafe impl send and sync for my data structure. it only modify at apply entry
👋 Thanks for opening this issue!
Get help or engage by:
/help: to print help messages./assignme: to assign this issue to you.
I guess it has to be shared between threads by reference. I did not dig deep into this question, but remove Sync and Send, I guess the compiler will tell you why it has to be sync and send. :D