Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4236

[Atlas: Audits][Intermittent] There were 2 audits for an entity update action one with differential enabled and one was without differential within a few milliseconds

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: atlas-core
    • Labels:
      None

      Description

      There was an entity update action and there were 2 audits created, for same action one with differential enabled and the other was without differential audit enabled within a few milli seconds

      The cluster on which this occurred is still alive, but this was not reproduce-able later

      Even if we suspect a config update in atlas and a restart, it would talk atleast a few minutes for the config to take effect and the next audit should be without differential audit enabled. But this was within a few milli seconds.

      https://quasar-nealzi-1.quasar-nealzi.root.hwx.site:31443/api/atlas/v2/entity/fa12e741-5e5f-45f8-bdd5-239b766e1d76/audit

      [
          {
              "entityId": "fa12e741-5e5f-45f8-bdd5-239b766e1d76",
              "timestamp": 1617262937842,
              "user": "hrt_qa",
              "action": "CUSTOM_ATTRIBUTE_UPDATE",
              "details": "Updated custom attribute: {\"typeName\":\"entity_type_ozsue\",\"attributes\":{\"type_short_min\":-32768,\"type_bigint_rand\":-5,\"type_bigdecimal_rand\":-5.0,\"type_byte_max\":127,\"type_set\":[\"1\",\"2\",\"3\",\"4\",\"5\"],\"type_short_max\":32767,\"type_bool_true\":true,\"type_str\":\"new_attrib_value\",\"type_double_rand\":-5.0,\"type_float_rand\":-5.0,\"type_date\":1494183548574,\"type_bool_false\":false,\"type_bigdecimal_max\":1.7976931348623157E+308,\"type_bigint_max\":9223372036854775807,\"type_short_rand\":5,\"type_double_max\":1.7976931348623157E308,\"type_bigdecimal_min\":5E-324,\"type_byte_rand\":5,\"type_double_min\":4.9E-324,\"type_int_max\":2147483647,\"type_long_max\":9223372036854775807,\"type_float_min\":300.003,\"type_int_rand\":-5,\"name\":\"audit_entity_rubmo\",\"type_arr_list\":[\"1\",\"2\",\"3\",\"4\",\"5\"],\"type_bigint_min\":-9223372036854775808,\"type_int_min\":9000,\"type_float_max\":3.4E38,\"type_long_min\":-9223372036854775808,\"type_byte_min\":-128,\"type_long_rand\":-5},\"guid\":\"fa12e741-5e5f-45f8-bdd5-239b766e1d76\",\"isIncomplete\":false,\"provenanceType\":0,\"status\":\"ACTIVE\",\"createdBy\":\"hrt_qa\",\"updatedBy\":\"hrt_qa\",\"createTime\":1617262927193,\"updateTime\":1617262933323,\"version\":0,\"classifications\":[],\"customAttributes\":{\"nseqt\":\"test value 3\",\"rojut\":\"test value 1\",\"deyhx\":\"test value 2\"},\"labels\":[\"label_cc\",\"label_3\",\"label_01\",\"label_b\",\"label_2\",\"label_a\",\"label_1\"],\"proxy\":false}",
              "eventKey": "fa12e741-5e5f-45f8-bdd5-239b766e1d76:1617262937842:0:1617262937851",
              "entity": null,
              "type": null
          },
          {
              "entityId": "fa12e741-5e5f-45f8-bdd5-239b766e1d76",
              "timestamp": 1617262933323,
              "user": "hrt_qa",
              "action": "CLASSIFICATION_DELETE",
              "details": "Deleted classification: tag_type_gnpfh",
              "eventKey": "fa12e741-5e5f-45f8-bdd5-239b766e1d76:1617262933323:0:1617262933349",
              "entity": null,
              "type": null
          },
          {
              "entityId": "fa12e741-5e5f-45f8-bdd5-239b766e1d76",
              "timestamp": 1617262933183,
              "user": "hrt_qa",
              "action": "CLASSIFICATION_UPDATE",
              "details": "Updated classification: {\"typeName\":\"tag_type_gnpfh\",\"attributes\":{\"name\":\"val1\",\"id\":1},\"entityGuid\":\"fa12e741-5e5f-45f8-bdd5-239b766e1d76\",\"entityStatus\":\"ACTIVE\",\"propagate\":true,\"removePropagationsOnEntityDelete\":false}",
              "eventKey": "fa12e741-5e5f-45f8-bdd5-239b766e1d76:1617262933183:0:1617262933197",
              "entity": null,
              "type": null
          },
          {
              "entityId": "fa12e741-5e5f-45f8-bdd5-239b766e1d76",
              "timestamp": 1617262932983,
              "user": "hrt_qa",
              "action": "CLASSIFICATION_ADD",
              "details": "Added classification: {\"typeName\":\"tag_type_gnpfh\",\"attributes\":{},\"entityGuid\":\"fa12e741-5e5f-45f8-bdd5-239b766e1d76\",\"entityStatus\":\"ACTIVE\",\"propagate\":true,\"removePropagationsOnEntityDelete\":false}",
              "eventKey": "fa12e741-5e5f-45f8-bdd5-239b766e1d76:1617262932983:0:1617262932994",
              "entity": null,
              "type": null
          },
          {
              "entityId": "fa12e741-5e5f-45f8-bdd5-239b766e1d76",
              "timestamp": 1617262932036,
              "user": "hrt_qa",
              "action": "LABEL_DELETE",
              "details": "Deleted labels: label_aa label_bb",
              "eventKey": "fa12e741-5e5f-45f8-bdd5-239b766e1d76:1617262932036:0:1617262932046",
              "entity": null,
              "type": null
          },
          {
              "entityId": "fa12e741-5e5f-45f8-bdd5-239b766e1d76",
              "timestamp": 1617262931866,
              "user": "hrt_qa",
              "action": "LABEL_ADD",
              "details": "Added labels: label_aa label_bb label_cc",
              "eventKey": "fa12e741-5e5f-45f8-bdd5-239b766e1d76:1617262931866:0:1617262931878",
              "entity": null,
              "type": null
          },
          {
              "entityId": "fa12e741-5e5f-45f8-bdd5-239b766e1d76",
              "timestamp": 1617262931680,
              "user": "hrt_qa",
              "action": "LABEL_DELETE",
              "details": "Deleted labels: label_c",
              "eventKey": "fa12e741-5e5f-45f8-bdd5-239b766e1d76:1617262931680:0:1617262931692",
              "entity": null,
              "type": null
          },
          {
              "entityId": "fa12e741-5e5f-45f8-bdd5-239b766e1d76",
              "timestamp": 1617262931485,
              "user": "hrt_qa",
              "action": "LABEL_ADD",
              "details": "Added labels: label_c label_b label_a",
              "eventKey": "fa12e741-5e5f-45f8-bdd5-239b766e1d76:1617262931485:0:1617262931496",
              "entity": null,
              "type": null
          },
          {
              "entityId": "fa12e741-5e5f-45f8-bdd5-239b766e1d76",
              "timestamp": 1617262931306,
              "user": "hrt_qa",
              "action": "LABEL_ADD",
              "details": "Added labels: label_3 label_2 label_1",
              "eventKey": "fa12e741-5e5f-45f8-bdd5-239b766e1d76:1617262931306:0:1617262931314",
              "entity": null,
              "type": null
          },
          {
              "entityId": "fa12e741-5e5f-45f8-bdd5-239b766e1d76",
              "timestamp": 1617262931053,
              "user": "hrt_qa",
              "action": "LABEL_ADD",
              "details": "Added labels: label_01",
              "eventKey": "fa12e741-5e5f-45f8-bdd5-239b766e1d76:1617262931053:0:1617262931060",
              "entity": null,
              "type": null
          },
          {
              "entityId": "fa12e741-5e5f-45f8-bdd5-239b766e1d76",
              "timestamp": 1617262928740,
              "user": "hrt_qa",
              "action": "ENTITY_UPDATE",
              "details": "Updated: {\"typeName\":\"entity_type_ozsue\",\"attributes\":{\"type_short_min\":-32768,\"type_bigint_rand\":-5,\"type_bigdecimal_rand\":-5.0,\"type_byte_max\":127,\"type_set\":[\"1\",\"2\",\"3\",\"4\",\"5\"],\"type_short_max\":32767,\"type_bool_true\":true,\"type_str\":\"new_attrib_value\",\"type_double_rand\":-5.0,\"type_float_rand\":-5.0,\"type_date\":1494183548574,\"type_bool_false\":false,\"type_bigdecimal_max\":1.7976931348623157E+308,\"type_bigint_max\":9223372036854775807,\"type_short_rand\":5,\"type_double_max\":1.7976931348623157E308,\"type_bigdecimal_min\":5E-324,\"type_byte_rand\":5,\"type_double_min\":4.9E-324,\"type_int_max\":2147483647,\"type_long_max\":9223372036854775807,\"type_float_min\":300.003,\"type_int_rand\":-5,\"name\":\"audit_entity_rubmo\",\"type_arr_list\":[\"1\",\"2\",\"3\",\"4\",\"5\"],\"type_bigint_min\":-9223372036854775808,\"type_int_min\":9000,\"type_float_max\":3.4E38,\"type_long_min\":-9223372036854775808,\"type_byte_min\":-128,\"type_long_rand\":-5},\"guid\":\"fa12e741-5e5f-45f8-bdd5-239b766e1d76\",\"isIncomplete\":false,\"provenanceType\":0,\"status\":\"ACTIVE\",\"createdBy\":\"hrt_qa\",\"updatedBy\":\"hrt_qa\",\"createTime\":1617262927193,\"updateTime\":1617262928474,\"version\":0,\"classifications\":[],\"labels\":[],\"proxy\":false}",
              "eventKey": "fa12e741-5e5f-45f8-bdd5-239b766e1d76:1617262928740:0:1617262928747",
              "entity": null,
              "type": null
          },
          {
              "entityId": "fa12e741-5e5f-45f8-bdd5-239b766e1d76",
              "timestamp": 1617262928474,
              "user": "hrt_qa",
              "action": "ENTITY_UPDATE",
              "details": "Updated: {\"typeName\":\"entity_type_ozsue\",\"attributes\":{\"type_str\":\"new_attrib_value\"},\"guid\":\"fa12e741-5e5f-45f8-bdd5-239b766e1d76\",\"isIncomplete\":false,\"provenanceType\":0,\"version\":0,\"classifications\":[],\"proxy\":false}",
              "eventKey": "fa12e741-5e5f-45f8-bdd5-239b766e1d76:1617262928474:0:1617262928482",
              "entity": null,
              "type": null
          },
          {
              "entityId": "fa12e741-5e5f-45f8-bdd5-239b766e1d76",
              "timestamp": 1617262927193,
              "user": "hrt_qa",
              "action": "ENTITY_CREATE",
              "details": "Created: {\"typeName\":\"entity_type_ozsue\",\"attributes\":{\"type_short_min\":-32768,\"type_bigint_rand\":-5,\"type_bigdecimal_rand\":-5.0,\"type_byte_max\":127,\"type_set\":[\"1\",\"2\",\"3\",\"4\",\"5\"],\"type_double_max\":1.7976931348623157E308,\"type_short_max\":32767,\"type_bool_true\":true,\"type_str\":\"str1\",\"type_double_rand\":-5.0,\"type_float_rand\":-5.0,\"type_date\":1494183548574,\"type_bool_false\":false,\"type_bigdecimal_max\":1.7976931348623157E+308,\"type_bigint_max\":9223372036854775807,\"type_short_rand\":5,\"type_bigint_min\":-9223372036854775808,\"type_bigdecimal_min\":5E-324,\"type_byte_rand\":5,\"type_double_min\":4.9E-324,\"type_int_max\":2147483647,\"type_long_max\":9223372036854775807,\"type_float_min\":1.4E-45,\"type_int_rand\":-5,\"name\":\"audit_entity_rubmo\",\"type_arr_list\":[\"1\",\"2\",\"3\",\"4\",\"5\"],\"type_byte_min\":-128,\"type_int_min\":-2147483648,\"type_float_max\":3.4E38,\"type_long_min\":-9223372036854775808,\"type_long_rand\":-5},\"guid\":\"fa12e741-5e5f-45f8-bdd5-239b766e1d76\",\"isIncomplete\":false,\"provenanceType\":0,\"version\":0,\"classifications\":[],\"proxy\":false}",
              "eventKey": "fa12e741-5e5f-45f8-bdd5-239b766e1d76:1617262927193:0:1617262927327",
              "entity": null,
              "type": null
          }
      ] 

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dharshmk Dharshana M Krishnamoorthy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: