Uploaded image for project: 'Network Controller'
  1. Network Controller
  2. SDNC-1146

db writing conflicts

XMLWordPrintable

      found logs with 409 response "version conflict"

      2020-04-08T05:29:26,978 | WARN  | Thread-1605      | HtDatabaseClient                 | 417 - wrap_file__opt_opendaylight_system_org_onap_ccsdk_features_sdnr_wt_sdnr-wt-common_0.7.2_sdnr-wt-common-0.7.2.jar - 0.0.0 | Problem updating networkelement-connection with id NTS-Manager_3GPP and data {"status":"Connecting","implemented-interface":"org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.NetworkElementConnection","core-model-capability":"Unsupported","device-type":"Unknown","is-required":false,"node-details":{"implemented-interface":"org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.network.element.connection.entity.NodeDetails","available-capabilities":[],"unavailable-capabilities":[]},"node-id":"NTS-Manager_3GPP","id":"NTS-Manager_3GPP","host":"10.20.7.51","port":8300}: 'method [POST], host [http://sdnrdb:9200], URI [/networkelement-connection/networkelement-connection/NTS-Manager_3GPP/_update], status line [HTTP/1.1 409 Conflict]
      {"error":{"root_cause":[{"type":"version_conflict_engine_exception","reason":"[networkelement-connection][NTS-Manager_3GPP]: version conflict, current version [29] is different than the one provided [28]","index_uuid":"PgYq6oQmRKSA8SdEe6Hq5Q","shard":"0","index":"networkelement-connection-v2"}],"type":"version_conflict_engine_exception","reason":"[networkelement-connection][NTS-Manager_3GPP]: version conflict, current version [29] is different than the one provided [28]","index_uuid":"PgYq6oQmRKSA8SdEe6Hq5Q","shard":"0","index":"networkelement-connection-v2"},"status":409}'
      

      happens from time to time during writing ne information to sdnr database if there are write request from 2 different threads

            metaljackL Michael Dürre
            metaljackL Michael Dürre
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: