Philip O Toole
e6f428fcd8
Convert magic string to const
8 years ago
Philip O Toole
2c8922b50b
Standardize load endpoint processing
8 years ago
Philip O Toole
9e87a3ba30
Add new perm for loading SQLite dump file
...
This was missed in previous releases.
8 years ago
Philip O Toole
5ed6ef0ae8
Covert dumps to queries in HTTP service
...
There is no need for special logic at the Store level.
8 years ago
Philip O'Toole
210367b51b
Fix call to Load()
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
6270744584
Correct batch size variable name
8 years ago
Philip O Toole
12482c682d
const out loader batch size
8 years ago
Philip O Toole
88eb56e431
Service now uses load batch of 100
8 years ago
Philip O Toole
3286bf064d
Start adding load-from-dump
8 years ago
Philip O'Toole
5b4b1e3567
Set Content-type "application/json" on responses
8 years ago
Philip O'Toole
729221bf57
join endpoint returns HTTP 301 if necessary
8 years ago
Philip O Toole
0198e31cbf
Refactor adding build version to HTTP response
8 years ago
Philip O Toole
1152886216
Reduce Go cyclo complexity
8 years ago
Philip O'Toole
54cbd025e1
'go lint' fixes
8 years ago
Philip O'Toole
354c9588b9
Remove useless comment
8 years ago
Philip O'Toole
bc60aa755d
At least log any failure from HTTP Serve()
8 years ago
Philip O'Toole
9a0b9bcafe
Update service.go
8 years ago
Philip O Toole
1b6bdffd33
Add rqlite version to each HTTP response
8 years ago
Philip O'Toole
6f4814a4c3
Support pprof information over HTTP
8 years ago
Philip O'Toole
918a3200dd
Correct method for removal of node
8 years ago
Philip O Toole
0aff83dea8
Ensure the correct HTTP methods on endpoints
8 years ago
Philip O'Toole
de6cc9ce12
Log full error on join failure
8 years ago
Philip O'Toole
37195abcf4
Expose /remove endpoint on HTTPD service
8 years ago
Philip O'Toole
3f467c6590
Merge pull request #129 from rqlite/force_select
...
Check that queries begin with SELECT
8 years ago
Philip O'Toole
9a36f4867a
Check if queries start with SELECT
8 years ago
Philip O'Toole
8d7644f55a
More 'go lint' fixes
8 years ago
Philip O Toole
bf2047b45b
'go lint' fixes
8 years ago
Philip O'Toole
349300b743
Add Go runtime info to status output
9 years ago
Philip O'Toole
315439cc7f
Fill our API peers lookups ( #111 )
...
* Fill our API peers lookups
* Complete leader-redirection
* Handle no leader for redirect
9 years ago
Philip O'Toole
c04ff92d7a
Fill our API peers lookups ( #110 )
9 years ago
Philip O'Toole
434116a704
Move to permanent redirects for leaders
9 years ago
Philip O'Toole
78f652fcc2
Enable leader redirection
...
Not quite complete.
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
75ee23bdd9
Move URL normalization to http package
...
This function may be useful for leader-redirection.
9 years ago
Philip O Toole
659be46190
Add build time to status output
9 years ago
Philip O'Toole
bc6275a759
Tweak comment for New HTTPD service
9 years ago
Philip O'Toole
ad0b6f3b4d
GoDoc fixes
9 years ago
Philip O'Toole
4c36f8345c
Create standalone auth module
9 years ago
Philip O'Toole
511d2039c3
Fix "auth enabled" status logic
9 years ago
Philip O'Toole
559472cd9f
Add "auth" state to status output
9 years ago
Philip O'Toole
5a01ffcda9
Return if username and password are invalid
9 years ago
Philip O'Toole
5cbeecddf5
'go fmt' fixes
9 years ago
Philip O'Toole
c1ad8c8ec1
Allow auth config to be set at command line
9 years ago
Philip O'Toole
817cc2abc7
Integrate perms with HTTP service
9 years ago
Philip O'Toole
90b5a79720
Check BasicAuth if enabled
9 years ago
Philip O'Toole
f23cd8ef9c
Support HTTPS API
...
API can now be secured with X.509 certficate and key.
9 years ago
Philip O'Toole
196e5c405f
Comment corrections
9 years ago
Philip O'Toole
fa8c9b20c2
Add build information to status output
9 years ago
Philip O Toole
5f5a666a06
Move to "weak" and "strong" for consistency levels
9 years ago
Philip O Toole
ec3af02ba5
Basic HTTP stats to expvar
9 years ago
Philip O Toole
076a996a8b
Support expvar data
9 years ago
Philip O Toole
7bf9b32425
Removed unused isExplain()
9 years ago
Philip O Toole
db1fb33fd3
Allow timing control
...
Fixes issue #75 .
9 years ago
Philip O Toole
11c18cd769
Service and store support consistency levels
...
Fix issue #5 .
9 years ago
Philip O Toole
959ceaecfa
Use 'timings' instead of 'verbose'
9 years ago
Philip O'Toole
62c17291b4
More diagnostic information
9 years ago
Philip O'Toole
ddad80be8c
Start adding 'verbose' query param
9 years ago
Philip O'Toole
4524d014eb
Leader redirection almost complete
9 years ago
Philip O Toole
6c12e39809
Require Store to expose Leader()
9 years ago
Philip O'Toole
77141ff193
Correct comment
9 years ago
Philip O'Toole
e88f97ed06
Support cluster-level leader checks for queries
9 years ago
Philip O'Toole
0607a69382
Only show backup time if it has occurred
9 years ago
Philip O'Toole
92329628cf
More /status functionality
9 years ago
Philip O'Toole
59cdb6856c
Rename 'statistics' route as 'status'.
9 years ago
Philip O Toole
f1963221ca
Small fixes and formatting
9 years ago
Philip O Toole
cc73f0abbc
Default to leader check before backup
9 years ago
Philip O Toole
947cd053be
Don't set content-type header for backup
...
It was getting prepended to the body of the request, and corrupting
the database. It's set automatically anyway.
Backup now appears functional.
9 years ago
Philip O Toole
a754448b25
Fix 'noLeader' query param
9 years ago
Philip O Toole
b058458a0f
Start adding multi-node tests
9 years ago
Philip O Toole
0ce450fed6
More nodes on queries and leadership
9 years ago
Philip O Toole
81a3af3b7e
Allow leader check for queries
9 years ago
Philip O Toole
a7ade520e4
Clean up HTTP routing
...
Start adding unit tests for HTTP service.
9 years ago
Philip O Toole
3ffed779f8
Move to POST for bulk queries
...
Backup endpoint also added, but not fully-functional.
9 years ago
Philip O Toole
fac68c3cdd
Return time in seconds
9 years ago
Philip O Toole
f33ffc2936
Measure time per statement
9 years ago
Philip O Toole
7286790968
Finalize 'time' in responses
9 years ago
Philip O Toole
77852d8647
Enhance top-level of response
9 years ago
Philip O Toole
da128dae3f
Correct URL param for transactions
9 years ago
Philip O Toole
a8c19788a3
Tighten up HTTP error responses
9 years ago
Philip O Toole
297479bc4e
Make multi-SELECT work
9 years ago
Philip O Toole
17aea81d75
Add Raft statistics
9 years ago
Philip O Toole
fc81d3d7ff
Enable transaction support
9 years ago
Philip O Toole
ee4ffe1d15
Comment cleanups
9 years ago
Philip O Toole
d30d2fffa4
Query path now works
9 years ago
Philip O Toole
ab71c3bdd2
Execute working now
9 years ago
Philip O Toole
639264db4f
Hook up handleExecute
9 years ago
Philip O'Toole
99f5e63f49
Build fixes
9 years ago
Philip O'Toole
63c74cabea
Fully build with new db package
9 years ago
Philip O'Toole
f6984f4134
Small wrapper around sqlite3
9 years ago
Philip O'Toole
4f110e26ea
Update README with desired behavior
9 years ago
Philip O'Toole
b95c84d16e
Add database interface to Store
...
CREATE TABLE now works.
9 years ago
Philip O'Toole
875bb6ebf6
Raft clustering functional
9 years ago
Philip O'Toole
d7d46f79c0
Start refactor for Hashicorp
...
Heavily influenced by hraftd. rqlited builds without error.
9 years ago