mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-02 21:17:01 +00:00
Thread the per-table large_data_guardrail through the write path so that mutations exceeding configured thresholds are rejected before being applied to the memtable. The guardrail is selected in database::do_apply — either the table's own guardrail or a static noop when skip_large_data_guardrails is set. It flows through apply_in_memory → table::apply → memtable::apply, where the check runs after partition_builder deserializes the frozen mutation. For large mutations (>128KB), the check runs after unfreeze_gently instead.