e849da9402
graph: make quadstore init functions idempotent
2015-11-25 15:06:47 -05:00
0c5f1bc364
Merge pull request #277 from barakmich/upgrade_db
...
Add migration tool and use protos in Bolt store
2015-10-05 17:22:05 -04:00
kortschak
88262ac344
graph/bolt: don't panic on unitialised store
...
Fixes #295 .
2015-08-17 09:46:18 +09:30
41f5573698
commit after every bucket
2015-06-23 18:39:08 -04:00
8ee61735b7
fix naming in test and fix test
2015-06-23 17:59:19 -04:00
390d012fc4
use proto everywhere on v2 stores
2015-06-23 17:59:19 -04:00
80ddf74cd2
first migration
2015-06-23 17:59:19 -04:00
7aed9db4af
Add plumbing for bolt upgrades
2015-06-23 17:59:18 -04:00
ba5b1dbfc3
update the registration interface
2015-06-23 17:59:18 -04:00
3a7da9f2a0
Merge pull request #249 from barakmich/fix_bolt
...
Fix bug where first Bolt iteration ignores deletion
2015-06-02 14:44:21 -04:00
Örjan Persson
6f6e14ee52
Fix nil pointer panic when meta bucket is missing
...
If NewQuadStore was called without first calling InitQuadStore, the
runtime would panic since the meta bucket never was created.
2015-05-29 15:50:38 +02:00
cb00876747
Fix bug where first Bolt iteration ignores deletion
2015-05-01 12:41:48 -04:00
Andrew Dunham
189961cb8d
Remove deprecated ResultTree API
2015-04-28 15:57:35 -07:00
102b3d7ef5
fix NewAnd taking quadstore in tests
2015-04-19 15:18:11 -04:00
Andrew Dunham
8abb3807cb
Move 'err' to the end of the struct
2015-04-15 16:49:47 -07:00
Andrew Dunham
1990eba055
Stop calling glog.Fatal* in a bunch of places
2015-04-15 14:07:45 -07:00
Andrew Dunham
1b6395ed0a
Make Close() method on Iterators return an error
2015-04-14 20:17:31 -07:00
Andrew Dunham
3ce9adbc0b
Fix Err fallout for graph/bolt iterators
2015-04-14 18:55:48 -07:00
Andrew Dunham
6aad2b1818
Add static type assertions
...
Assert that various iterators satisfy the graph.Nexter interface
2015-04-14 16:28:46 -07:00
84718983a5
Merge master and gaedatastore branch
2015-04-04 19:09:33 -04:00
f1579c1e25
Merge pull request #218 from barakmich/primarykey
...
Fix PrimaryKey Marshalling and add Bolt test
2015-04-04 18:05:04 -04:00
bffcd47257
Fix PrimaryKey Marshalling and add Bolt test
...
Based on LevelDB test exactly. Sure enough, it found a bug.
2015-02-21 18:26:52 -05:00
=
d545fc4b44
renamed GetType() to Type(), fixed iterator tests
2015-02-21 23:55:36 +01:00
=
35ccfe7677
Added functionality so quadstore is generated per request (if needed) for the new appengine backend \n CR : nobody \n Tests run: unit tests
2015-02-21 23:46:11 +01:00
2c74cb1657
Merge pull request #217 from barakmich/primarykey
...
Rewrite keys into concrete types, remove key package
2015-02-21 16:37:55 -05:00
67673b31f4
Clean up a little lint and some shadowed variables
2015-02-21 16:21:48 -05:00
cf3e286d15
Rewrite keys into concrete types, remove key package
2015-02-21 16:19:51 -05:00
l.albertalli
472d86223e
Changed the ApplyDeltas signature
2015-02-10 18:17:54 -08:00
l.albertalli
50c3e5f93c
Shortended function signature and changed flag priority
2015-02-10 10:48:02 -08:00
l.albertalli
6134bc8bdd
Moved configuration to Quadwriter and added to config file
2015-02-09 18:43:26 -08:00
l.albertalli
ce1cce5a01
Added command line options to ignore duplicate quad in add or missing quad in delete
2015-02-06 17:49:16 -08:00
8d08e80396
Merge pull request #159 from kortschak/dups
...
Provide informative logging for dups/absences
2015-02-03 19:13:19 -05:00
kortschak
46f987ca51
Make graph.Delta zero state invalid for use
...
Previously, an incorrectly initialised Delta (omission of Action) would
result in an Add operation. Make that detectable and return an error.
2015-01-27 08:39:50 +10:30
panamafrancis
abda6cbbb0
Refactoring of Delta.IDs & horizon functionality with a PrimaryKey type, needed for implementing UUID based primary keys for backends such as the appengine datastore \n Tests: at top level and if available per backend, if not then just visual
2014-12-01 23:00:06 +01:00
kortschak
887c23e640
Ensure we don't examine empty token
...
Fixes issue #163 .
2014-09-24 08:52:00 +09:30
kortschak
ce179e3887
Provide informative logging for dups/absences
2014-09-22 13:00:20 +09:30
kortschak
e2eea6c283
Convert Type fields to use graph.Type
...
Add text encoding methods to replace string storage.
2014-09-05 09:49:15 +09:30
kortschak
62013d3dfc
Replace DebugString with Describe
...
This change makes tree description completely open to mechanical
analysis and ensures consistency between description formats for each of
the iterator types.
Renamed StatsContainer.(Kind -> Type) for consistency.
2014-09-05 09:32:09 +09:30
kortschak
bf6412b55d
Run go vet
...
Bugs found.
2014-08-28 12:22:37 +09:30
kortschak
8118c8d3cc
Quieten deadcode
2014-08-28 12:04:45 +09:30
kortschak
484bf145a8
Remove non-documentation lint
...
Because of extensive nature of changes, tested all three non-memstore
backends - passed.
2014-08-28 11:51:39 +09:30
kortschak
a22eb42482
Make hashOf a function
2014-08-27 23:25:50 +09:30
kortschak
5e9da0347c
Simplify method name
2014-08-27 21:40:36 +09:30
kortschak
443a091b72
Rename triple entities were relevant
2014-08-27 21:27:01 +09:30
d0fcdf4299
Documentation and tests
2014-08-23 18:05:04 -04:00
e11dfeb50f
Optionalize the sync parameter
2014-08-23 17:19:14 -04:00
6d82c78b45
Cleanup based on comments
2014-08-22 16:31:50 -04:00
f4f0af4f53
improve cost of bolt iterator
2014-08-16 07:16:50 -04:00
3b0110b226
concrete deltas
2014-08-16 03:50:45 -04:00
c94cd2a53a
store less duplicate data in the indices
2014-08-14 00:37:20 -04:00