dolthub / dolthub/doltlite

ATTACH OOM fault-injection indices shift vs stock

Open
#2,492 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
268
Forks
18
Avg merge
2h 27m
Merged PRs (30d)
447

Description

The `attachmalloc` suite pins allocation-sweep indices. Extra DoltLite open-time work (vec1, `dolt_tests` / `dolt_test_run`, `dolt_ignore`, parent-dir Access probes, checkpoint discovery) adds allocations, so stock's Nth injected OOM is not ours.

This is the same representation problem as closed #1859 (`backup_malloc` per-index pins). It is **not** a missing page-image API; those five gates previously cited #1839 by mistake.

Work, if any: stop pinning per-index `attachmalloc-1.transient.N` entries (whole-suite disposition, or a harness that matches on the error rather than the allocation ordinal). Until then the five `unsupported` gates cite this.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the attachmalloc suite and its allocation-sweep pins, then compare the five unsupported gates with the representation discussion in #1859. Determine whether the suite should stop using per-index attachmalloc-1.transient.N entries or use error-based matching; done means the stock-versus-DoltLite allocation shift no longer makes these gates misleading.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, sqlite
Domain
databases, testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.