The Open command in the API should create a directory with the name of the database you are creating and store all SSTs and other data relating to your database within this directory.
If the open command is called with the name of an existing directory, it should prepare that database for operation.
The close command should transform whatever is in the current Memtable into an SST and gracefully shut down the database without losing any data in memory.
When you subsequently open the same database, all data that had previously been inserted should still be available.
The Open command in the API should create a directory with the name of the database you are creating and store all SSTs and other data relating to your database within this directory.
If the open command is called with the name of an existing directory, it should prepare that database for operation.
The close command should transform whatever is in the current Memtable into an SST and gracefully shut down the database without losing any data in memory.
When you subsequently open the same database, all data that had previously been inserted should still be available.