Files
dolt/go/utils/remotesrv
Aaron Son 7d412a14e8 go: sqle: cluster: Improvements for DROP DATABASE replication.
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.
2023-10-03 14:50:57 -07:00
..
2019-06-11 14:47:56 -07:00

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>