Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-29625

Serializing an incomplete protobuf object when cluster identity can't be verified

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Qserv
    • Labels:
      None

      Description

      The bug

      The ticket was triggered by DM-23191.
      The current implementation of the Replication worker doesn't complete all required fields of a Protobuf response object if a cluster's instance identifier received in a request doesn't match the one expected by the worker. This results in a crash at the following location:

      [libprotobuf FATAL google/protobuf/message_lite.cc:314] CHECK failed: IsInitialized(): 
      Can't serialize message of type "lsst.qserv.replica.ProtocolServiceResponse" because it is missing required
       fields: service_state, technology, start_time, num_new_requests, num_in
      

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              Assignee:
              gapon Igor Gaponenko
              Reporter:
              gapon Igor Gaponenko
              Reviewers:
              Nate Pease
              Watchers:
              Fritz Mueller, Igor Gaponenko, Nate Pease
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: