thin-edge.io icon indicating copy to clipboard operation
thin-edge.io copied to clipboard

child alarms messages are getting cleared when tedge-c8y mapper goes down and comes back

Open PradeepKiruvale opened this issue 1 year ago • 1 comments

Describe the bug An alarm message was sent to the child device when the tedge-mapper is down, and then the mapper comes up and starts processing the message. When it processes these messages, it's clearing the alarm messages.

To Reproduce -connect to c8y -send an alarm message -stop the c8y mapper -send an alarm message -start the mapper -check the alarm messages on the c8y portal it was supposed to be 2 but it clears all the existing alarm messages.

Expected behavior

Screenshots

Environment (please complete the following information):

  • OS [incl. version]
  • Hardware [incl. revision]
  • System-Architecture [e.g. result of "uname -a"]
  • thin-edge.io version [e.g. 0.1.0]

Additional context

PradeepKiruvale avatar Aug 10 '22 13:08 PradeepKiruvale

This is the expected behavior, when the alarm messages are sent without retaining enabled then the alarms get cleared.

PradeepKiruvale avatar Aug 12 '22 10:08 PradeepKiruvale