Commit graph

40 commits

Author SHA1 Message Date
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
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
Ö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
Andrew Dunham
1990eba055 Stop calling glog.Fatal* in a bunch of places 2015-04-15 14:07:45 -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
ce179e3887 Provide informative logging for dups/absences 2014-09-22 13:00:20 +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
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
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
fc1648340d slight improvement by appending deltas first 2014-08-13 17:14:39 -04:00
6b02f1a997 port 117 fix to bolt 2014-08-13 17:14:31 -04:00
1099969591 save horizon with transactions 2014-08-11 17:14:51 -04:00
82e4d122fc bolt db works 2014-08-11 05:31:34 -04:00
d261e5d870 wip 2014-08-11 02:54:14 -04:00