ysono / pancake

7 stars 1 forks source link

generic sstable #45

Closed ysono closed 3 years ago

ysono commented 3 years ago
  1. Make struct SSTable generic.

The main motivation is secondary index.

Primary

Secondary

  1. Make OptDatum more private.

OptDatum has become a concept internal to LSMTree only. I tried to make struct OptDatum private within lsm.rs, but the struct is tightly tied in with other code in serde.rs.

ysono commented 3 years ago

I might not need this for secondary indexes after all. I'm gonna rethink my approach.

btc commented 3 years ago

I might not need this for secondary indexes after all. I'm gonna rethink my approach.

ok

btc commented 3 years ago

feel free to merge when you're ready. not sure if you intend to merge this immediately.

ysono commented 3 years ago

Yep it's done. Thx