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
Philip O'Toole
2d3a818b0f
Return to using goraft/raft
10 years ago
Philip O'Toole
09b4b4d0b1
Add a data query test
10 years ago
Philip O'Toole
3062e76124
Remove unnecessary single-quotes from unit test
10 years ago
Philip O'Toole
2005f39532
First unit tests for database creation and write
10 years ago
Philip O'Toole
e65750b968
Explicitly fetch unit test framework
10 years ago
Philip O'Toole
d2a3190c07
Fix typo
10 years ago
Philip O'Toole
99d075e1e4
Move details from README to blog post
10 years ago
Philip O'Toole
f0af79228d
Add instructions on running unit tests
10 years ago
Philip O'Toole
02b40f9c8f
Remove trailing whitespace from README
10 years ago
Philip O'Toole
5e2aebb464
More unit-testing of the Server
10 years ago
Philip O'Toole
d9a5214f4b
Update server.go
...
Remove duped Raft info
10 years ago
Philip O'Toole
385d52bcd7
Mention what curl is
10 years ago