embano1 / memlog

A Kafka log inspired in-memory and append-only data structure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Write should return `-1` on error

embano1 opened this issue · comments

return offset, fmt.Errorf("write to shard: %w", err)