bytedance / terarkdb

A RocksDB compatible KV storage engine with better performance
Apache License 2.0
2.05k stars 202 forks source link

[BUG] example/simple_example.cc is out of date #268

Open ZhaoHaoRu opened 1 year ago

ZhaoHaoRu commented 1 year ago

[BUG]

In CHANGELOG.md, it mentioned that PinnableSlice was not removed in v1.2.1, but PinnableSlice type is still used in example/simple_example.cc. So when I tried to run this code, it couldn't compile successfully.

[Enhancement]

Solution

Maybe the developers need to remove the usage of PinnableSlice from example/simple_example.cc and replace with an available type.