execsvc: a new error shape, 12× in the last hour, never seen in 90 days (failed to create document copy — could not write document node and cor)
critical
Error never seen before
master
open
impact 58
Owner: Madhava Mukkamala (backup: Shashank Agrawal)
opened 2d ago · last observed 2d ago · observed 3× · #17467 · 4177e054fb2037d760d3
What happened template
execsvc logged “failed to create document copy — could not write document node and core relationships: bulk doc write: Neo4jError: Neo.TransientError.Transaction.DeadlockDetect” 12 times in the last hour and never before in 90 days on master (first seen 2026-11-16 16:49 UTC, raised at doclib/copyDocument.go:74). Example trace: f91346437409440b0cc533d78b9297f2.
An error shape appearing for the first time in 90 days, five or more times in an hour.
First look — investigated before anyone looked
Cause not clear from logs and recent changes; execsvc document copies failed on Neo4j DeadlockDetected in one burst at 16:49 UTC, last seen 16:55 UTC.
Counts: 12× copyDocument.go:74 (bulk doc write), 5× copyDocument.go:74 (context scope binders), 14× tildadb/util.go:993.
The util.go:993 deadlock shape has existed since 2026-11-15 07:38, so lock contention is not new; only the document-copy paths are.
Checked: 5 autosync deploys in the prior 24 h were config-only (no image or commit change, the last one 69 min before onset), with nothing linking them to the error. This finding has no earlier history.
Next step: open the example trace and find which concurrent transaction held the ExclusiveLock during the 16:49 copy burst.
Also check whether doclib retries Neo.TransientError, since this error class is retryable.
low confidence
claude-opus-5-5 · 2d ago · $0.05 — every link above is evidence it read; nothing else was claimed.
The facts
| service | execsvc |
| caller | doclib/copyDocument.go:74 |
| shape | failed to create document copy — could not write document node and core relationships: bulk doc write: Neo4jError: Neo.TransientError.Transaction.DeadlockDetected (ForsetiClient[transactionId=? |
| count | 12 |
| error_class | neo4j |
| first_seen | 2026-11-16 16:49:15 UTC (2d ago) |
| sample | failed to create document copy — could not write document node and core relationships: bulk doc write: Neo4jError: Neo.TransientError.Transaction.DeadlockDetected (ForsetiClient[transactionId=2 |
| trace | f91346437409440b0cc533d78b9297f2 |
| shape_hash | 7e02c29aa0b27acd |
| count_is_floor | no |
| discriminator | 7e02c29aa0b27acd |
| window | 2026-11-16 16:34:53 UTC → 2026-11-16 17:34:53 UTC |
What is failing in execsvc — the bad events, decomposed
“Bad events” are HTTP 5xx answers from execsvc. In this finding's window (2026-11-16 16:34:53 UTC → 2026-11-16 17:34:53 UTC) there were 0; every line links to the grouped errors behind it.
The error shapes behind them
| 21× | error anchor visit index has not been set. Does this study have an anchor visit? continuing without setting day/date ran… since 2026-11-06 00:02:19 UTC |
| 12× | error anchor visit index has not been set. Does this study have an anchor visit? continuing without setting day/date ran… since 2026-11-12 15:37:28 UTC |
The story — No execsvc deploy or hand change is recorded in the hour before this opened. Everything below is execsvc only.
- 2026-11-16 16:00:00 UTClatency execsvc p95 peaked at 1.51 s
- 2026-11-16 16:55:04 UTCfinding · critical execsvc: a new error shape, 12× in the last hour, never seen in 90 days (failed to bulk-write document nodes — Neo4jError: Neo.TransientError.T)
- 2026-11-16 16:55:04 UTCfinding · critical execsvc: a new error shape, 5× in the last hour, never seen in 90 days (failed to create document copy — could not add document context: could)
- 2026-11-16 16:55:04 UTCfinding · critical execsvc: a new error shape, 5× in the last hour, never seen in 90 days (failed to add document to scope binders — could not write context scop)
- 2026-11-16 16:55:04 UTCfinding · critical execsvc: a new error shape, 5× in the last hour, never seen in 90 days (failed to run cypher in transaction — Neo4jError: Neo.TransientError.T)
- 2026-11-16 16:55:04 UTCthis finding execsvc: a new error shape, 12× in the last hour, never seen in 90 days (failed to create document copy — could not write document node and cor)
History
- 2026-11-16 16:55:04 UTCopened x-ray · severity=critical title=execsvc: a new error shape, 12× in the last hour, never seen in 90 days (failed to create document copy — could not write document node and cor) finding={'id': 17467, 'fingerprint': '4177e054fb2037d760d3', 'kind': 'error.novel', 'severity': 'critical', 'cluster': 'master', 'subject': 'execsvc', 'title': 'execsvc: a new error shape, 12× in the last hour, never seen in 90 days (failed to create document copy — could not write document node and cor)', 'facts': {'service': 'execsvc', 'caller': 'doclib/copyDocument.go:74', 'shape': 'failed to create document copy — could not write document node and core relationships: bulk doc write: Neo4jError: Neo.TransientError.Transaction.DeadlockDetected (ForsetiClient[transactionId=?', 'count': 12, 'error_class': 'neo4j', 'first_seen': 1794847755, 'sample': 'failed to create document copy — could not write document node and core relationships: bulk doc write: Neo4jError: Neo.TransientError.Transaction.DeadlockDetected (ForsetiClient[transactionId=2', 'trace': 'f91346437409440b0cc533d78b9297f2', 'shape_hash': '7e02c29aa0b27acd', 'window': [1794844504, 1794848104], 'count_is_floor': False, 'discriminator': '7e02c29aa0b27acd'}, 'evidence': [{'label': 'Errors, grouped', 'href': '/errors?cluster=master&from=1794844504&to=1794848104&service=execsvc'}, {'label': 'Logs', 'href': '/logs?cluster=master&from=1794844504&to=1794848104&service=execsvc&severity=ERROR'}, {'label': 'Example trace', 'href': '/trace/f91346437409440b0cc533d78b9297f2?cluster=master'}], 'provenance': {'source': 'live', 'collected_at': None, 'age_seconds': None, 'stale': False, 'shown': None, 'total': None, 'truncated': False, 'coverage_from': None, 'retain_days': None, 'note': 'Cloud Logging, last hour, grouped by (service, caller, shape)'}, 'impact': 60.0, 'status': 'open', 'first_seen': 1794848104, 'last_seen': 1794848104, 'resolved_at': None, 'acked_by': None, 'acked_at': None, 'snoozed_until': None, 'occurrences': 1, 'narrative': None, 'narrative_kind': None, 'discriminator': '7e02c29aa0b27acd', 'level': 'medium', 'told_level': None, 'episode_at': 1794848104, 'chat_thread': None, 'kind_label': 'Error never seen before', 'group': 'Errors', 'age_s': 134, 'stale_s': 134}
Check it yourself
Every link carries the finding's own time window, so it shows tomorrow what it shows now.
Actions
Sign in (IAP) to acknowledge, snooze or resolve.
Where the numbers come from
| source | live |
| collected_at | None |
| age_seconds | None |
| stale | False |
| shown | None |
| total | None |
| truncated | False |
| coverage_from | None |
| retain_days | None |
| note | Cloud Logging, last hour, grouped by (service, caller, shape) |
| detector | errors_novel |