Kea’s missing transaction batching
Kea’s missing transaction batching
Posted May 31, 2025 20:07 UTC (Sat) by Sesse (subscriber, #53779)In reply to: Kea’s missing transaction batching by DemiMarie
Parent article: Local vulnerabilities in Kea DHCP
OK, so you're basically asking that Kea buffer up changes and submit them all within one SQL transaction to the database backend? It sounds like something that is normally done in the database level (i.e., grouping fsyncs), but of course, that requires Kea to expose some parallelism as you say. (Either through async, or using more threads.) Anything else is fairly complex, as I believe Kea would want the lease commit to go through before it actually sends out the DHCPACK? (I haven't checked, I'm fine with memfile.)
