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
semifuture_subscribeAndGetAreaKvStores thows error when subscribe updates from OpenR kvstore.
The openr log shows a stream-0 is attached, but the stream is ended immediatly and openr_kvstore_snooper throws error.
Environment
OS version: ubuntu2004
What's the actual result?
terminate called after throwing an instance of 'apache::thrift::transport::TTransportException'
what(): TTransportException: Timed out
*** Aborted at 1658243418 (Unix time, try 'date -d @1658243418') ***
*** Signal 6 (SIGABRT) (0x3e8000536c4) received by PID 341700 (pthread TID 0x7eff0a7ef600) (linux TID 341700) (maybe from PID 341700, UID 1000) (code: -6), stack trace: ***
(error retrieving stack trace)
Aborted (core dumped)
The text was updated successfully, but these errors were encountered:
After digging in to the KvStoreSnooper.cpp and logs from OpenrCtrlHandler.cpp, I found that the subscription API takes relative long time to return the Future result. Typically > 5s on my computer.
Then I tried openr_kvstore_snooper -processing_timeout_ms=10000 or set to 0 for no timeout (correct me if I'm wrong), everything goes well.
Issue Description
semifuture_subscribeAndGetAreaKvStores
thows error when subscribe updates from OpenR kvstore.The openr log shows a stream-0 is attached, but the stream is ended immediatly and openr_kvstore_snooper throws error.
Environment
What's the actual result?
The text was updated successfully, but these errors were encountered: