Details
-
Bug
-
Status: Complete
-
Highest
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Unset
-
Ev 18.25
Description
It is a normal situation if replica's primaryName is None (for example, during the view change process). But there is a place where it is not checked during logging.
Back trace:
Dec 19 02:20:53 irelandQALive3.qatest.evernym.com env[2638]: File "/usr/local/lib/python3.5/dist-packages/plenum/server/has_action_queue.py", line 110, in wrapper
Dec 19 02:20:53 irelandQALive3.qatest.evernym.com env[2638]: action()
Dec 19 02:20:53 irelandQALive3.qatest.evernym.com env[2638]: File "/usr/local/lib/python3.5/dist-packages/plenum/server/monitor.py", line 418, in check_unordered
Dec 19 02:20:53 irelandQALive3.qatest.evernym.com env[2638]: handler(new_unordereds)
Dec 19 02:20:53 irelandQALive3.qatest.evernym.com env[2638]: File "/usr/local/lib/python3.5/dist-packages/plenum/server/replicas.py", line 227, in unordered_reques
t_handler_logging
Dec 19 02:20:53 irelandQALive3.qatest.evernym.com env[2638]: .format(reqId, duration, replica.primaryName.split(':')[0], prepre_sender,
Dec 19 02:20:53 irelandQALive3.qatest.evernym.com env[2638]: AttributeError: 'NoneType' object has no attribute 'split'