0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-06-15 12:53:06 +00:00
Files
.cargo
.github
bindings
bottomless
bottomless-cli
docker-compose
docs
libsql
libsql-ffi
libsql-hrana
libsql-replication
assets
proto
metadata.proto
proxy.proto
replication_log.proto
src
tests
Cargo.toml
libsql-server
libsql-shell
libsql-sqlite3
libsql-sys
tools
vendored
xtask
.dockerignore
.env
.gitignore
.gitmodules
CODE_OF_CONDUCT.md
Cargo.lock
Cargo.toml
Dockerfile
Dockerfile.dev
LICENSE.md
README-libsql.md
README.md
docker-entrypoint.sh
fly.toml
rust-toolchain.toml
libsql/libsql-replication/proto/metadata.proto

23 lines
704 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
package metadata;
// Database config used to send db configs over the wire and stored
// in the meta store.
message DatabaseConfig {
bool block_reads = 1;
bool block_writes = 2;
// The reason why operations are blocked. This will be included in [`Error::Blocked`].
optional string block_reason = 3;
// maximum db size (in pages)
uint64 max_db_pages = 4;
optional string heartbeat_url = 5;
optional string bottomless_db_id = 6;
2024-01-11 09:42:38 -05:00
optional string jwt_key = 7;
2024-01-18 20:50:02 +01:00
optional uint64 txn_timeout_s = 8;
bool allow_attach = 9;
optional uint64 max_row_size = 10;
optional bool shared_schema = 11;
optional string shared_schema_name = 12;
}