Create a WAL-based key-value store that persists data to disk and recovers from crashes. The store must…
Create a WAL-based key-value store that persists data to disk and recovers from crashes. The store must…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Exact I/O contract: - The store is initialized with a directory path. All files live inside that directory. -…
The task
Exact I/O contract: - The store is initialized with a directory path. All files live inside that directory. - `put(key, value)`: Stores a value under a key. Both key and value are arbitrary bytes strings (can contain any bytes including null bytes, newlines, Unicode). If key already exists, its value is overwritten.…
Part of ai-and/termgrade-environments.