1
0
Fork 0

1339 Commits (7dbc56ba84c2efc04fa5d8ce834bfeba6183b7cc)
 

Author SHA1 Message Date
Philip O Toole f33ffc2936 Measure time per statement 9 years ago
Philip O'Toole 879bc62e84 Add handling of errors 9 years ago
Philip O'Toole 6dbcb7ae62 Update with new API 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 7c408a4a59 Update README.md 9 years ago
Philip O'Toole a8a03ddb07 Fix comment typo 9 years ago
Philip O'Toole a837460862 Update README.md 9 years ago
Philip O Toole da128dae3f Correct URL param for transactions 9 years ago
Philip O Toole 81fc8be7d2 More README updates 9 years ago
Philip O'Toole 417ddab5b3 Update README.md 9 years ago
Philip O'Toole 626f59b155 Update README.md 9 years ago
Philip O Toole 1b41f789b8 Remove debug panic() 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 7c75bd9494 Finalize name for sqlite file 9 years ago
Philip O'Toole fe73efabea Update README.md 9 years ago
Philip O'Toole 927c960b68 Update README.md 9 years ago
Philip O Toole f06cb0ec6c Final updates to package doc 9 years ago
Philip O Toole 5c1599a229 Futher updates to package documentation 9 years ago
Philip O Toole 7817ecdc93 Update top-level documentation 9 years ago
Philip O Toole 4b737148f9 Add top-level documentation 9 years ago
Philip O Toole 17aea81d75 Add Raft statistics 9 years ago
Philip O Toole ae222dcfd9 More README tidy-ups 9 years ago
Philip O Toole fc9147a989 Merge branch 'hrqlite' 9 years ago
Philip O Toole fc81d3d7ff Enable transaction support 9 years ago
Philip O'Toole 5caed214c6 Update README.md 9 years ago
Philip O'Toole 48b6a469e3 Update main.go 9 years ago
Philip O'Toole ed9e02338f Update README.md 9 years ago
Philip O'Toole c11d5c9eff Update credits 9 years ago
Philip O'Toole de93f58bdf Add disclaimers 9 years ago
Philip O'Toole c14db2efda More README tweaks 9 years ago
Philip O'Toole c4bafb86ed Clarify 2.0 status 9 years ago
Philip O'Toole 1fa8da2302 Remove worthless response example 9 years ago
Philip O'Toole 0e7822af6b Merge pull request #54 from otoolep/hrqlite
Move to Hashicorp Raft and improve API
9 years ago
Philip O Toole 9d564e7a0b Merge branch 'hrqlite' of https://github.com/otoolep/rqlite into hrqlite 9 years ago
Philip O Toole 577e19cb80 Remove obsolete system test 9 years ago
Philip O'Toole 3f74d43a4c Add new responses 9 years ago
Philip O Toole dad669fb04 Correct INSERT examples 9 years ago
Philip O Toole 9eb80b7a29 Add note about 2.0 development 9 years ago
Philip O Toole d0b4d6aa0a RWADME cleanups 9 years ago
Philip O Toole a583b70180 Enhance reporting so Hashicorp use is flagged 9 years ago
Philip O Toole ee4ffe1d15 Comment cleanups 9 years ago
Philip O Toole b638fa7b87 Finish snapshot restore
Compiles, but not tested.
9 years ago
Philip O Toole a47da4065f Correctly handle database removal 9 years ago
Philip O Toole 35803cdf75 Shutdown Store on exit 9 years ago
Philip O Toole a6cb950ff4 Allow DSN config at command line
It might still need to be richer, so end-users could specify an
in-memory SQLite database. Specifying a DSN would require the user
to supply the full path to the SQLite database. This is OK. However,
the code then needs to be able to parse out the path to the database
so it can remove it before start up.
9 years ago
Philip O Toole 179ad650f3 Apply() and Snapshot NOT called concurrently
No reason to worry about this.
9 years ago
Philip O Toole 2ebec9b973 Start adding support for snapshots
This shows that passing the database into the Raft module is probably
not going to work, since the database could be opened in two ways -
 directly at startup, and be completely restored from the log, or with
a combination of restoring from a snapshot, followed by the remaining
log entries. In both cases the database must be opened using the
requested DSN settings.

A detailed config object for controlling SQLite behaviour, is probably
best, and it should be passed to the Raft store on start up.

Finally, file-level copying of the SQLite file can only take place if
no transaction is in effect. This might be handled by the use of a
RWLock. The write-lock is taken during Execute() and Snapshot, but
the Read lock is taken during Query(). Unfortunately this may reduce
the concurrency of inserts and updates. Perhaps the Backup call on
the Go SQLite library might be better, but it might be slow.
9 years ago
Philip O Toole d30d2fffa4 Query path now works 9 years ago