zebra/zebra-scan/src/service/scan_task
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
..
scan fix(scan): Fix minor concurrency bug in the `scan` gRPC method (#8303) 2024-02-21 23:29:13 +00:00
tests fix(scan): Fix minor concurrency bug in the `scan` gRPC method (#8303) 2024-02-21 23:29:13 +00:00
commands.rs fix(scan): Fix minor concurrency bug in the `scan` gRPC method (#8303) 2024-02-21 23:29:13 +00:00
executor.rs fix(scan): Fix minor concurrency bug in the `scan` gRPC method (#8303) 2024-02-21 23:29:13 +00:00
scan.rs fix(scan): Fix minor concurrency bug in the `scan` gRPC method (#8303) 2024-02-21 23:29:13 +00:00
tests.rs add(scan): Implement SubscribeResults request for scan service (#8253) 2024-02-13 00:42:40 +00:00