- Timeline::get calls reconstruct data ⇒ turn that into a Pin<Box<dyn Future…>> .
- Problem there: we call layer.get_reconstruct_data while holding layer map lock ⇒ it’s a std rwlock ⇒ need to turn it into a parking_lot mutex whose guards are Send
- Problem there: we sometimes hold the Tenant::timelines std mutex while holding layer map lock (branching?) ⇒ need to turn it into parking_lot mutex whose guards are Send

So, tackle things in reverse here.
This commit is contained in:
Christian Schwarz
2023-05-10 18:00:52 +02:00
parent eb3a8be933
commit 5f191d3e2f

Diff Content Not Available