Philip O'Toole
c00f1b460b
Accept BEGIN and COMMIT on load()
8 years ago
Philip O'Toole
39ebf50cb7
Remove explicit control of FK constraints
...
It's not clear whether it's the right thing to do, and FK constraints
can still be controlled via PRAGMA commands.
8 years ago
Philip O'Toole
9ffa309f69
Stop database-level control of FK during load
8 years ago
Philip O'Toole
ed304b7840
Remove useless comment
8 years ago
Philip O'Toole
36368d6786
Start removing batch load
8 years ago
Philip O'Toole
68793cfcbb
Use a transaction for loaded batch
...
Bump the batch size to 1000 too.
8 years ago
Philip O Toole
f44c08a530
Skip loading blank lines
8 years ago
Philip O Toole
9c180d8f43
SQL parser now strips newlines
8 years ago
Philip O Toole
1f5cfc65d8
Trim leading and trailing newlines
8 years ago
Philip O Toole
84f3be9c10
Add missing package
8 years ago
Philip O Toole
b87de293ce
Move \n ; trimming to SQL line parser
8 years ago
Philip O Toole
6ee9cdbbdf
Start integration of SQL line parser
8 years ago
Philip O Toole
3726d1bb20
Add DB conf to diagnostics
8 years ago
Philip O Toole
cb7686fa46
Diagnostics show actual FK constraint state
8 years ago
Philip O Toole
2daac8704b
Support batching during load
8 years ago
Philip O Toole
31560160a1
Check FK state before load
8 years ago
Philip O Toole
4c6ee1ad39
Return error code during load if necessary
8 years ago
Philip O Toole
6007790ae4
Break loading when done
8 years ago
Philip O Toole
3286bf064d
Start adding load-from-dump
8 years ago
Philip O'Toole
729221bf57
join endpoint returns HTTP 301 if necessary
8 years ago
Philip O Toole
95cb4baf2a
More cyclo changes
8 years ago
Philip O Toole
7bdedf8cd9
Reduce cyclo complexity of opening store
8 years ago
Philip O'Toole
c40fff4d46
Support controlling FK constraints at startup
...
This was possible previously, but would need to be set everytime on
startup via the API. This change allows it to set at startup AND enables
foreign constraint checking by default.
8 years ago
Philip O'Toole
0b13a1321d
Simplify error handling for Update Peers
8 years ago
Philip O Toole
aa467cffcd
Fix misspelling in comment
8 years ago
Philip O'Toole
2982058a81
Support setting Raft heartbeat timeout
8 years ago
Philip O'Toole
8a05236768
Support configurable snapshot thresholds
8 years ago
Benjamen Keroack
b67e56196e
add cluster state and leader functions to store
8 years ago
Philip O'Toole
83026e4612
Add Peers to status output
8 years ago
Philip O'Toole
47539cf8e1
Add RemoveNode() to Store
8 years ago
Philip O'Toole
ef18cd5b17
Expose Raft Peers() on Store
8 years ago
Philip O Toole
bf2047b45b
'go lint' fixes
8 years ago
Philip O'Toole
8c0fee4b06
Include Raft dir in status
9 years ago
Philip O'Toole
5380c4d7e4
Map Raft "not leader" error to Store error ( #112 )
9 years ago
Philip O'Toole
c04ff92d7a
Fill our API peers lookups ( #110 )
9 years ago
Philip O'Toole
fac48629bc
Start initial integration of mux ( #109 )
...
Integrate TCP mux with cluster and store
This change allows any node, including followers, to use the Raft log to make changes to a cluster-wide state.
9 years ago
Philip O Toole
5aefda9983
Move to new rqlite org
9 years ago
Philip O'Toole
e8c92e088c
Don't join unless actually necessary
9 years ago
Philip O'Toole
a02f44f089
Remove cluster-like code from Store
9 years ago
Philip O'Toole
9164550aab
Remove debug print
9 years ago
Philip O'Toole
bdeda47774
Initial implementation of Meta server
...
This should really be a distinct cluster package.
9 years ago
Philip O'Toole
0a3454a675
Methods on store to set and get API peers
9 years ago
Philip O'Toole
0bffa38319
Start implementing cluster meta comms
9 years ago
Philip O'Toole
16e3125149
Add support for cluster meta
...
This change required that the cluster meta become part of the Raft
snapshot.
9 years ago
Philip O'Toole
99ebaf9767
Add support for peersSub
9 years ago
Philip O'Toole
ed56f77714
Add hierarchy to Raft commands
9 years ago
Philip O'Toole
099c7c18ac
Enable TCP muxing layer for Raft commns
9 years ago
Philip O'Toole
ef554e33a0
Update sqlite3 status output
9 years ago
Philip O'Toole
91a552b7ec
Further store-layer updates
9 years ago
Philip O'Toole
31cda32a38
'go fmt' fixes
9 years ago