Well, there's another project in the same organization named iNexus achieved in log truncation. It uses leveldb as underlying storage and the leveldb is slightly modified to clean the outdated data when compacting. Maybe BFS will do something similar.
For the source code, please refer to
https://github.com/baidu/ins
And I'm sorry for the lack of English documents in this repo. We are working on it.