redpanda-data / redpanda

Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
https://redpanda.com
9.46k stars 579 forks source link

storage: use uint64_t for batch type map #19846

Closed bashtanov closed 3 months ago

bashtanov commented 3 months ago

We are about to run out of ids. Also, the static assert as it was wouldn't work as it's off by one.

Backports Required

Release Notes