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
Philip O'Toole
41a7cd401e
Fix typo in comments
10 years ago
Philip O'Toole
03409d927b
DRY up JSON pretty printing
10 years ago
Philip O'Toole
33f682244f
Add endpoint to dump Raft details
...
Issue #8 .
10 years ago
Philip O'Toole
cbbe38f02b
Re-order blog entry
10 years ago
Philip O'Toole
846f61f387
Clarify HTTP API
10 years ago
Philip O'Toole
003cc2a3dc
Fix typo
10 years ago
Philip O'Toole
4a311c7fc8
More details reading and writing
10 years ago
Philip O'Toole
cf238439e4
Update README.md
10 years ago