Menu

#528 Group.command_inout fails between server restart

closed
C++ API
5
2013-07-09
2012-08-30
No

Hello,

It seems the first Group.command_inout on a client after a server restart always fails with a CommunicationFailed exception.

Here is how to reproduce the problem:

0. compile the program file attached to this bug report:
c++ -o tg_group_test tg_group_test.cpp -ltango
1. start TangoTest
2. execute the tg_group_test program in another console
3. restart TangoTest server
4. Press enter in the tg_group_test console
5. a communication failed occurs

If we do the same with a DeviceProxy instead of a group the problem doesn't occur.

Tested with tango 7.2.6 and 8.0.5

Discussion

  • Tiago Coutinho

    Tiago Coutinho - 2012-08-30

    test program to reproduce the bug

     
  • Tiago Coutinho

    Tiago Coutinho - 2012-08-30
    • assigned_to: nleclercq --> trogucki
     
  • Thomas Rogucki

    Thomas Rogucki - 2012-09-03
    • status: open --> closed-fixed
     
  • Thomas Rogucki

    Thomas Rogucki - 2012-09-03

    Fixed. Will be available in Tango 8.1.0.

    Problem in fact does not concern the Group interface. It roots in Connection::command_inout_reply() with timeout. There was a missing re-connection mechanism in case of server restart.

     
  • Emmanuel Taurel

    Emmanuel Taurel - 2012-09-10

    Bug fix available in Tango 8.0.5 patch file p805_1.diff available on pink site

     
  • Emmanuel Taurel

    Emmanuel Taurel - 2012-09-10
    • status: closed-fixed --> open-fixed
     
  • Emmanuel Taurel

    Emmanuel Taurel - 2013-06-06
    • Category: --> C++ API
     
  • Emmanuel Taurel

    Emmanuel Taurel - 2013-07-09

    Fixed in Tango 8.1.2

     
  • Emmanuel Taurel

    Emmanuel Taurel - 2013-07-09
    • status: open-fixed --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB