Philip O'Toole
|
2c01218169
|
Initialize snapConf
|
10 years ago |
Philip O'Toole
|
c7160a6d96
|
Add initial support for snapshotting.
Not tested.
|
10 years ago |
Philip O'Toole
|
f0afc0c88e
|
Merge pull request #1 from otoolep/snapshot_after_n_log
Prepare to snap after some number of log entries
|
10 years ago |
Philip O'Toole
|
aca943d194
|
Prepare to snap after some number of log entries
|
10 years ago |
Philip O'Toole
|
af48ccb4a8
|
Remove downloaded pkgs from .gitignore
Better source tree layout now makes this unnecessary.
|
10 years ago |
Philip O'Toole
|
22fbee9e28
|
Exit immediately if no data path supplied
|
10 years ago |
Philip O'Toole
|
e69218ef4a
|
Layout source in a more conventional style
|
10 years ago |
Philip O'Toole
|
208cf9a88a
|
Use 'defer' to rollback transactions
|
10 years ago |
Philip O'Toole
|
6bd23ee6f6
|
Lock sqlite database during changes
SQLite can return BUSY if 2 or more threads attempt to change it simulataneously
|
10 years ago |
Philip O'Toole
|
97acd92f9f
|
More diagnostic output
|
10 years ago |
Philip O'Toole
|
787e788803
|
Revert "Instantiate database object at top-level"
This reverts commit 01dab376b0 .
Conflicts:
src/github.com/otoolep/rqlite/server/server.go
|
10 years ago |
Philip O'Toole
|
007f5e41ec
|
Add basic diagnostics endpoint
|
10 years ago |
Philip O'Toole
|
62ed4ef3ed
|
Ignore go-metrics
|
10 years ago |
Philip O'Toole
|
edf5ecbeac
|
Add interfaces directory
|
10 years ago |
Philip O'Toole
|
4620018c62
|
Count joins via metrics
|
10 years ago |
Philip O'Toole
|
0246fbbefb
|
Basic sever statistics support
How's that for alliteration?
|
10 years ago |
Philip O'Toole
|
d09cb18838
|
Use correct error for internal failure
|
10 years ago |
Philip O'Toole
|
01dab376b0
|
Instantiate database object at top-level
|
10 years ago |
Philip O'Toole
|
79e14c2be1
|
WriteCommand -> ExecuteCommand
|
10 years ago |
Philip O'Toole
|
b126cb37a8
|
Remove RowScanQuery
|
10 years ago |
Philip O'Toole
|
1e2cb4cd3e
|
No need for QueryError
|
10 years ago |
Philip O'Toole
|
dde69bfe5e
|
Richer JSON response for queries
|
10 years ago |
Philip O'Toole
|
06ccc6637e
|
Tighten up server's use of WriteCommand
|
10 years ago |
Philip O'Toole
|
2a43c5b531
|
Remove unit test of WriteCommand
Not easy to mock our RaftServer.
|
10 years ago |
Philip O'Toole
|
4f410113e4
|
Add metrics data to Execute response
|
10 years ago |
Philip O'Toole
|
11cd12b59a
|
Add unit test for command package
|
10 years ago |
Philip O'Toole
|
69acdb2c98
|
Use a more general interface with WriteCommand
This is to ease testing.
|
10 years ago |
Philip O'Toole
|
eb08e1883b
|
Tighten unit test
|
10 years ago |
Philip O'Toole
|
3bf4764fdc
|
Ignore src/gopkg.in/
|
10 years ago |
Philip O'Toole
|
1430ff8b79
|
Support both New and Open database calls
|
10 years ago |
Philip O'Toole
|
be8f2aa861
|
Don't remove an existing database
Add unit test which caught it. This *may* have implications for recovery
from snapshot, but it seems that is to be handled elsewhere. Perhaps.
|
10 years ago |
Philip O'Toole
|
37a009132e
|
Test a constraint violation within transaction
|
10 years ago |
Philip O'Toole
|
cc0db006e8
|
Simple transaction testing
|
10 years ago |
Philip O'Toole
|
c1587b0fef
|
Better db unit test names
|
10 years ago |
Philip O'Toole
|
c1a6c24788
|
Test simple failing statements
|
10 years ago |
Philip O'Toole
|
94599412c6
|
More simple db insertion unit tests
|
10 years ago |
Philip O'Toole
|
a639d24488
|
Add first unit tests
These check the lowest-layer of the database code.
|
10 years ago |
Philip O'Toole
|
871e299a54
|
Support closing the database
|
10 years ago |
Philip O'Toole
|
1ad500ad8c
|
log4go TRACE less severe than DEBUG
This is opposite to Java, which threw me.
|
10 years ago |
Philip O'Toole
|
a816cfb748
|
More logging tweaks
|
10 years ago |
Philip O'Toole
|
c9396f5574
|
More debug-level logging
|
10 years ago |
Philip O'Toole
|
b1520ac403
|
Trace queries returned
|
10 years ago |
Philip O'Toole
|
889a5560c4
|
Don't dump all statments in DEBUG mode
|
10 years ago |
Philip O'Toole
|
dc3f5fc454
|
Check if last stamement is empty
With a trailing newline, Split gives us a final blank entry.
|
10 years ago |
Philip O'Toole
|
59461ece41
|
Allow log-level control at command-line
|
10 years ago |
Philip O'Toole
|
fe32944113
|
Start using l4g, and fix a buggy log message
|
10 years ago |
Philip O'Toole
|
1ce29c3df4
|
Hook transaction set support into web handlers
Not tested, but compiles.
|
10 years ago |
Philip O'Toole
|
6d190ecd6f
|
Initial support for transactions
|
10 years ago |
Philip O'Toole
|
b825a3dc34
|
Factor out detection of URL query params
|
10 years ago |
Philip O'Toole
|
054880466d
|
Ignore more packages
|
10 years ago |