@mark1russell7/harness 0.16.23 → 0.16.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.js CHANGED
@@ -2472,6 +2472,7 @@ const marks = (line, stage, old, oldAddress) => {
2472
2472
  if (mark.at === "old" !== (member === old)) return false;
2473
2473
  const attr = line["attr"] ?? {};
2474
2474
  if (stage === "member-down" && !JSON.stringify(attr).includes(oldAddress)) return false;
2475
+ if (stage === "elected" && attr["term"] === 1) return false;
2475
2476
  if (stage === "old-primary-steps-down" && Number(line["id"]) === 21358 && attr["oldState"] === "PRIMARY") return true;
2476
2477
  return mark.ids.includes(Number(line["id"])) || mark.message.test(String(line["msg"] ?? ""));
2477
2478
  };