losfair / mvsqlite

Distributed, MVCC SQLite that runs on FoundationDB.
https://github.com/losfair/mvsqlite/wiki
Apache License 2.0
1.35k stars 38 forks source link

Executing mvstore for Windows #91

Closed fire closed 1 year ago

fire commented 1 year ago
C:\Users\elee\Downloads\mvsqlite\target\release>set RUST_LOG=info

C:\Users\elee\Downloads\mvsqlite\target\release>mvstore --data-plane 127.0.0.1:7000  --admin-api 127.0.0.1:7001 --metada
ta-prefix mvstore --raw-data-prefix m
Error: failed to initialize server

Caused by:
    0: cannot open fdb cluster
    1: No cluster file found in current directory or default location
fire commented 1 year ago

Might be related to https://github.com/losfair/mvsqlite/issues/71. --cluster /usr/local/etc/foundationdb/fdb.cluster

fire commented 1 year ago

mvstore --data-plane 127.0.0.1:7000 --admin-api 127.0.0.1:7001 --metadata-prefix mvstore --raw-data-prefix m --cluster "C:/ProgramData/foundationdb/fdb.cluster"

Works

fire commented 1 year ago

I have put my branch at https://github.com/fire/mvsqlite/tree/windows/mvsqlite-sqlite3 and there's a readme for reference.

fire commented 1 year ago

I've been testing Windows support and it's been working. Not a problem anymore.