|
|
|
|
|
by _vvhw
1342 days ago
|
|
Thanks! Joran from the TigerBeetle team here. Appreciate your balanced comment. To be fair, we're certainly concerned about logic errors and buffer bleeds. The philosophy in TigerBeetle is always to downgrade a worse bug to a lesser. For example, if it's a choice between correctness and liveness, we'll downgrade the potential correctness bug to a crash. In the specific case of message buffer reuse here, our last line of defense then is also TigerBeetle's assertions, hash chains and checksums. These exhaustively check all function pre/post-conditions, arguments, processing steps and return values. The assertion-function ratio is then also tracked for coverage, especially in critical sections like our consensus or storage engine. So—apologies for the wince! I feel it too, this would certainly be a nasty bug if it were to happen. |
|