mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-23 21:59:01 -05:00
7d412a14e8
Fix a bug in session handling for the replication api endpoint which would prevent a dropped database from being recreated on a replica. Fix a race condition when a database is recreated after it is dropped. In that case, we stop attempting to replicate the drop, so that it does not replicate after the new database does.
remotesrv
remotesrv is a dolt compatible remote server which implements the grpc remote chunkstore api, and a simple file storage server over http.
Installation
Currently only installation from source is supported. To install run
go install .
from the remotesrv directory
Usage
synopsis
remotesrv [--dir <directory>] [--http-port <PORT>] [--grpc-port <PORT>]
options
-dir string
root directory where files will be stored to and served from
-grpc-port
port on which the grpc server is running in order to serve the grpc remote chunkstore api (Default 50051)
-http-port
port on which the http file server is running (Default 80)
Using with dolt
In order to point the dolt cli to use this server you will need to add a remote that uses this server, or clone from this server
add remote
dolt remote add <remote> http://localhost:<PORT>/<ORG>/<REPO>
clone
dolt clone http://localhost:<PORT>/<ORG>/<REPO>