One bad event fails every event in its environment's batch
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 43/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- clickhouse, python
- Domain
- data-engineering
Research direction
The issue points to the batch insert and retry-topic behavior but names no files or tests. Start by tracing how each environment’s events are inserted and how schema_mismatch failures are retried; then identify a way to prevent one invalid row from causing valid events to be dropped. Done when valid events in a batch can still be delivered despite a bad row.
Written by the indexing model from the issue text.
Description
Raised in https://github.com/Flagsmith/warehouse-delivery/pull/6#discussion_r4134979911.
Each environment's events in a batch go to the warehouse in one insert. If one row doesn't fit the customer's table (e.g. a bad timestamp), ClickHouse rejects the whole insert with schema_mismatch. All of those events then go to the retry topic, fail together on every retry, and are dropped once MAX_RETRIES is used up, including the valid ones.
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- Avg merge
- 14h 29m
- Merged PRs (30d)
- 3
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
triage
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
kornia/kornia-rs#1416 · 1 comment ·
Maintainers usually reply within 2 days
-
ui
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
PolicyEngine/ai-inequality#64 ·
Maintainers usually reply within 1 day
-
LinearGaussianStateSpace.dist splits states and observations wrongly when the transition varies over timePossibly taken @PabloRoque claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
pymc-devs/pymc-extras#839 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day