NPLPackages / TableDB

Key-value database with raft replication support
GNU General Public License v2.0
9 stars 2 forks source link

basically finish stage2 #4

Closed liuluheng closed 7 years ago

liuluheng commented 7 years ago

This PR add TableDB Raft support, it keeps the TableDB interface unchaged and add RaftSqliteStore to adapt to the raft algorithm. This also need to add StorageProvider:SetStorageClass(raftSqliteStore) method to StorageProvider. To test the implementation, see the master branch's README. See TableDB/test/test_TableDatabase.lua::TestSQLOperations for more.

LiXizhi commented 7 years ago

we may reorganize files into npl modules folders. This is our new recommended way to release common mod.

And use relative path for private files. see https://github.com/LiXizhi/NPLRuntime/wiki/LoadFile

@liuluheng

liuluheng commented 7 years ago

ok, i will reorganize files and use relative path for private files in the develop branch.