I added flat buffers for 2 objects, but this doesn't compile yet.
https://github.com/slatedb/slatedb/tree/vigneshc/switch_to_flat_buffers
flatbuffer objects require lifetime, and this meant propagating it to several places. I think this fails because, flat buffer builder doesn't live long enough, and SstInfo object refers to the buffer owned by flat buffer builder.
I have also tried passing in the flat buffer builder from the calling function, this created other issues, also related to lifetime.
With this, I am not sure if I am completely off track.
I am stuck , sharing the branch in its current state.