Clickhouse - https://github.com/ClickHouse/ClickHouse
https://dbdb.io/browse?programming=c&programming=cplusplus&s...
(note that this doesn't filter on license -- I couldn't see a way to add a negative-filter on proprietary licensing -- so you may have to inspect a few of the results to confirm)
I work there (300+ ppl). It's primarily open source. It makes money through support contracts and cloud hosting, but all core development is done in the open.
I have a lot of experience with Cassandra though.
(Which is better for a server, Java does not crash and it can do atomic shared parallelism between cores with OO code something you would need to use arrays to achieve in C/C++ without VM + GC.)
Here is the 2000 lines of code of the entire database: http://root.rupy.se/code?path=/Root.java&space
Darkmode: http://edit.rupy.se/?path=/Root.java&space
And here you can try it out: http://root.rupy.se