Fernando Álvarez
6781ca497a
Fix data path creation
...
With #25 a bug was introduced, so rqlite raised a panic whenever
starting because data path wasn't correctly created.
This commit attempts to fix ths bug, and so #25 changes can be
finally applied.
10 years ago
Fernando Álvarez
022b536ade
Revert "Revert "Merge pull request #25 from oscillatingworks/deprecate-log4go""
...
This reverts commit fe415e6452
.
10 years ago
Philip O'Toole
0b52865949
Add trivial rqlite-cli skeleton
10 years ago
Philip O'Toole
649cef2adb
Add future location for rqlite CLI
10 years ago
Philip O'Toole
7a4c98f383
List Raft peers in an arrary
...
Fix for issue #31 .
10 years ago
Philip O'Toole
e51c9ef704
Use a sensible delimiter for stats
...
Fix issue #32 .
10 years ago
Philip O'Toole
f109ef064b
Increase test spin-up time
...
Wait groups will be the way to go, but not just yet.
10 years ago
Philip O'Toole
a5095ed741
Add 3-node test, but skip it for now
10 years ago
Philip O'Toole
8f6a81857f
Tweak layout of README
10 years ago
Philip O'Toole
785a34cf14
Add note about new option 'explain'
10 years ago
Philip O'Toole
7081110506
Allow control of processing timing information
10 years ago
Philip O'Toole
96bb182440
Add CircleCI configuration
10 years ago
Philip O'Toole
2def761ec9
'go vet' fixes
10 years ago
Philip O'Toole
783eece7e7
Basic test of 1-node cluster
10 years ago
Philip O'Toole
c02c3faf25
Merge pull request #29 from otoolep/change_api
...
Change API for ease of use
10 years ago
Philip O'Toole
33c8135014
Change API for ease of use
...
Fixes issue #27 .
10 years ago
Philip O'Toole
fe415e6452
Revert "Merge pull request #25 from oscillatingworks/deprecate-log4go"
...
This reverts commit f2de6cc26e
, reversing
changes made to cdc6021ae7
.
The change causes a panic when the server is started like so:
$GOPATH/bin/rqlite ~/node.1
10 years ago
Philip O'Toole
f2de6cc26e
Merge pull request #25 from oscillatingworks/deprecate-log4go
...
Deprecate log4go and fix gometalinter errors
10 years ago
Fernando Álvarez
8d7823d494
gometalinter: rqlite/interfaces
...
Fixes #24
10 years ago
Fernando Álvarez
f2a18498a0
gometalinter: rqlite/command
10 years ago
Fernando Álvarez
02626803a4
gometalinter: rqlite/server
10 years ago
Fernando Álvarez
48f9b8bfd4
gometalinter: rqlite/db
...
db/db.go:14:1⚠️ dbName is unused
db/db.go:30:11⚠️ error return value not checked (os.Remove(dbPath))
db/db.go:63:18⚠️ error return value not checked (defer rows.Close())
db/db.go:15:⚠️ unused global variable dbName
10 years ago
Fernando Álvarez
ecdd2085d4
gometalinter: main.go
10 years ago
Fernando Álvarez
cf90600837
main: Refactor data path creation
10 years ago
Fernando Álvarez
eba40187a9
Deprecate code.google.com/p/log4go
...
- Add new internal `rqlite/log` package
- Replace `log4go` with `rqlite/log`
- Adapt log formatting in existing logs
Fixes #21
10 years ago
Philip O'Toole
cdc6021ae7
Use newer-style reporting tag
10 years ago
Philip O'Toole
7177bb32f8
Add note re Go 1.3+ requirement
10 years ago
Philip O'Toole
d12adc7638
Fix linking markdown
10 years ago
Philip O'Toole
75dbd85d74
Tweak README regarding reporting
10 years ago
Philip O'Toole
d103397e1f
Implement launch reporting, and ability to disable
10 years ago
Philip O'Toole
368bdad119
Explain that node restarts may take a little time
10 years ago
Philip O'Toole
ecc1fa8e85
Add link to issue 14 regarding snapshots
10 years ago
Philip O'Toole
fbea38b784
Reduce default snapshot size
...
Allowing a log to get 1000 entries before snapshotting may be too long
in practise. Try a lower value.
10 years ago
Philip O'Toole
b91f275d1b
Enhance logging
10 years ago
Philip O'Toole
479ee6637d
Make README more godoc friendly
10 years ago
Philip O'Toole
91834c00c4
Always close response bodies
10 years ago
Philip O'Toole
76a440b2c0
Merge branch 'master' of github.com:otoolep/rqlite
10 years ago
Philip O'Toole
45fef88a7a
Redirect to leader on join
...
Fixes issue #17 .
10 years ago
Philip O'Toole
130a36505c
Add use of '-L' for 'curl' to the README
...
This will ensure the command follows redirects to the leader.
Thanks @tchoulihan
10 years ago
Philip O'Toole
106296515f
Add leader redirection
...
If a node receives a request to mutate the database, and it is not the
leader, it will return HTTP 307 Temporary Redirect.
10 years ago
Philip O'Toole
1552d294e0
Correct executable path
10 years ago
Philip O'Toole
8f2dd10e25
Add $GOPATH to execution directions
10 years ago
Philip O'Toole
e51c729134
Clarify node restart
10 years ago
Philip O'Toole
60228545cb
Add Circle CI build badge
10 years ago
Philip O'Toole
f36284598e
Add credit for go-sqlite3
10 years ago
Philip O'Toole
16353d547a
Fix typo
10 years ago
Philip O'Toole
afece581c8
Correct format string for errors
10 years ago
Philip O'Toole
f14772cfc3
Merge pull request #11 from ctrlrsf/master
...
Fix comment/godoc for NewServerDiagnostics
10 years ago
Rene Fragoso
f3dc6f7e9d
Fix comment/godoc for NewServerDiagnostics
10 years ago
Philip O'Toole
2ae530450b
Clarify optional testing
10 years ago