zebra/zebra-scan
Arya 5a9281a7a8
fix(scan): Fix minor concurrency bug in the `scan` gRPC method (#8303)
* update scan task to notify subscribe caller once the new subscribed_keys are sent on the watch channel

* Fixes timing bug in scan gRPC method:

Joins register/subscribe scan service calls, sends SubscribeResults request first, and filters out duplicate results from channel

* Removes outdated TODO

* wraps subscribed_keys in an Arc before sending to watch channel, fixes typo

* Remove result senders for keys that have been removed
2024-02-21 23:29:13 +00:00
..
src fix(scan): Fix minor concurrency bug in the `scan` gRPC method (#8303) 2024-02-21 23:29:13 +00:00
Cargo.toml add(scan): Test the `RegisterKeys` scan service call (#8281) 2024-02-19 23:45:38 +00:00