Skip to main content

validate_kv_sizes_early

Function validate_kv_sizes_early 

Source
pub fn validate_kv_sizes_early(
    mutation: &Mutation,
    config: &AedbConfig,
) -> Result<(), AedbError>
Expand description

Early validation of KV mutation sizes to prevent DoS via oversized keys/values. This check happens BEFORE the mutation is queued, preventing memory allocation of oversized data. Called at the API boundary before committing.