Unreachable smartscopesproxy causes timeout exception in the client
Bug #1324138 reported by
Paweł Stołowski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-scopes-api (Ubuntu) |
Triaged
|
Low
|
Marcus Tomlinson |
Bug Description
If scopesregistry is configured to use smartscopesproxy, but smartscopesproxy is not running, then running a client such as unity-scope-tool results in a 300 ms timeout exception both in scopesregistry and in the client, and even local scopes are not available.
Related branches
lp:~marcustomlinson/unity-scopes-api/lp-1324138
- PS Jenkins bot (community): Approve (continuous-integration)
- Michal Hruby (community): Needs Information
- Paweł Stołowski (community): Needs Fixing
- Michi Henning (community): Approve
-
Diff: 893 lines (+283/-188)18 files modifieddata/CMakeLists.txt (+0/-4)
data/scope-registry.conf.in (+1/-1)
data/smart-scopes-proxy.conf.in (+0/-12)
debian/libunity-scopes2.symbols (+4/-2)
include/unity/scopes/internal/DfltConfig.h.in (+1/-0)
include/unity/scopes/internal/RegistryConfig.h (+2/-0)
include/unity/scopes/internal/RegistryObject.h (+5/-3)
include/unity/scopes/internal/RuntimeImpl.h (+2/-0)
include/unity/scopes/internal/smartscopes/SSRegistryObject.h (+1/-1)
include/unity/scopes/internal/smartscopes/SmartScopesClient.h (+3/-0)
scoperegistry/scoperegistry.cpp (+19/-9)
smartscopesproxy/smartscopesproxy.cpp (+17/-23)
src/scopes/internal/RegistryConfig.cpp (+11/-0)
src/scopes/internal/RegistryObject.cpp (+31/-15)
src/scopes/internal/RuntimeImpl.cpp (+26/-0)
src/scopes/internal/smartscopes/SSRegistryObject.cpp (+47/-18)
src/scopes/internal/smartscopes/SmartScopesClient.cpp (+110/-92)
src/scopes/internal/zmq_middleware/ZmqObject.cpp (+3/-8)
Changed in unity-scopes-api: | |
assignee: | nobody → Marcus Tomlinson (marcustomlinson) |
Changed in unity-scopes-api: | |
status: | New → In Progress |
affects: | unity-scopes-api → unity-scopes-api (Ubuntu) |
Changed in unity-scopes-api (Ubuntu): | |
status: | In Progress → Triaged |
Changed in unity-scopes-api (Ubuntu): | |
importance: | Undecided → Low |
To post a comment you must log in.