You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is not Send because we have a RwLockGuard inside it. This can cause troubles in the future, as we can only read all the keys (use up the iterator) in an async environment. Given the iterator is not send, we cannot await (yield to other futures) when holding the iterator. We should refactor it to remove the lock guard someday when we want true concurrency.
Environment
Logs, links
The text was updated successfully, but these errors were encountered:
... by switching the internal RwLock to a OnceCell.
This is preliminary work for/from #4220 (async `Layer::get_value_reconstruct_data`).
See #4462 (comment)
for more context.
fixes#4471
... by switching the internal RwLock to a OnceCell.
This is preliminary work for/from #4220 (async `Layer::get_value_reconstruct_data`).
See #4462 (comment)
for more context.
fixes#4471
... by switching the internal RwLock to a OnceCell.
This is preliminary work for/from #4220 (async `Layer::get_value_reconstruct_data`).
See #4462 (comment)
for more context.
fixes#4471
... by switching the internal RwLock to a OnceCell.
This is preliminary work for/from #4220 (async `Layer::get_value_reconstruct_data`).
See #4462 (comment)
for more context.
fixes#4471
Steps to reproduce
By asserting Send bound on
DeltaValueIter
.Expected result
Should be Send.
Actual result
Is not Send because we have a RwLockGuard inside it. This can cause troubles in the future, as we can only read all the keys (use up the iterator) in an async environment. Given the iterator is not send, we cannot await (yield to other futures) when holding the iterator. We should refactor it to remove the lock guard someday when we want true concurrency.
Environment
Logs, links
The text was updated successfully, but these errors were encountered: