Following the discussion in #1236, I am opening this issue as an implementation tracker.
Context
- Current deployment is mostly single-worker:
- So current practical severity is relatively low.
- However, this is a good point to harden IOC identity handling before Event Injection / multi-source ingestion.
Scope of this issue
- Add DB-level uniqueness for IOC identity (preferred key:
("name", "type")).
- Add migration/merge path for pre-existing duplicate IOC rows (if any).
- Make IOC write path concurrency-safe (e.g., atomic upsert or transaction-safe handling).
- Add a regression test covering concurrent writes for same IOC identity.
Why now
This keeps ingestion behavior stable as concurrency grows, without over-rotating severity for current single-worker topology.
Acceptance criteria
Related references
Following the discussion in #1236, I am opening this issue as an implementation tracker.
Context
Q_CLUSTER["workers"] = 1)qclusterservice)Scope of this issue
("name", "type")).Why now
This keeps ingestion behavior stable as concurrency grows, without over-rotating severity for current single-worker topology.
Acceptance criteria
Related references