Menu

#272 Missing initialization of values in Global Statistics

2.0.1.0
closed
None
2019-08-30
2019-07-15
No

The below fields are never assigned values in session's statistics. As a result, they are always sent as 0 (in comId 35) as well as in tlc_getStatistics().

In TRDP_STATISTICS_T:

I. TRDP_PD_STATISTICS_T
i. defQos
ii. defTtl
iii. defTimeout

II. TRDP_MD_STATISTICS_T (both UDP and TCP)
i. defQos
ii. defTtl
iii. defReplyTimeout
iv. defConfirmTimeout

Refer attached diff for a possible solution. ( The idea is to asign the default values in tlc_configSession )

1 Attachments

Discussion

  • Bernd Löhr

    Bernd Löhr - 2019-07-15
    • status: open --> accepted
    • assigned_to: Bernd Löhr
     
  • Bernd Löhr

    Bernd Löhr - 2019-07-15

    Thank you, Siddhi. Small diff to your suggestion: the stats should be set outside the parameter checks...

     
  • Siddhi Wadgaonkar

    Ah, yes! That is a better solution.

     
  • Stefan Bender

    Stefan Bender - 2019-08-15
    • status: accepted --> pending
     
  • Armin-Hagen Weiss

    • Status: pending --> closed
    • Milestone: 2.0.0.0 --> 2.0.0.2
     

Log in to post a comment.

MongoDB Logo MongoDB