mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-08 22:32:55 +00:00
* chore: Remove unused MutationExtra * refactor(storage): Refactor Mutation and Payload Change Mutation from enum to a struct that holds op type and record batches so the encoder don't need to convert the mutation into record batch. Now The Payload is no more an enum, it just holds the data, to be serialized to the WAL, of the WriteBatch. The encoder and decoder now deal with the Payload instead of the WriteBatch, so we could hold more information not necessary to be stored to the WAL in the WriteBatch. This commit also merge variants in write_batch::Error to storage::Error as some variants of them denote the same error. * test(storage): Pass all tests in storage * chore: Remove unused codes then format codes * test(storage): Fix test_put_unknown_column test * style(storage): Fix clippy * chore: Remove some unused codes * chore: Rebase upstream and fix clippy * chore(storage): Remove unused codes * chore(storage): Update comments * feat: Remove PayloadType from wal.proto * chore: Address CR comments * chore: Remove unused write_batch.proto