Todd Gruben
9c8538ec5a
docker fix not really related to anything
2021-09-25 13:53:19 -05:00
nagamocha3000
575854df8a
Make index-key replication more resilient to network failures
2021-09-14 03:12:52 +03:00
Ben Johnson
5122c2decc
Refactor SQL planner to inside Server
2021-08-16 13:12:16 -06:00
Ben Johnson
9b8dc3d7e6
Implement basic SQL COUNT(*) query
2021-08-13 10:41:39 -06:00
Ben Johnson
60d534c505
Limit translation memory & add max query memory config
2021-08-02 15:28:00 -06:00
Ben Johnson
d16978f5dc
Add max memory limit to Extract() to prevent OOM
...
This commit changes the Extract() query to return an error if the
result set gets too large in order to prevent out-of-memory (OOM)
panics.
2021-08-02 08:20:12 -06:00
Mahesh Arumugam
858f889745
FeatureBase Renaming: changing go.mod module name for featurebase
2021-07-19 09:20:30 -07:00
Samir Patel
468a288b72
remove print
2021-06-01 10:47:10 -05:00
Samir Patel
dbdd3c4998
see if this is the only test failing
2021-06-01 10:47:09 -05:00
Todd Gruben
b25ad81e67
restore without restart
2021-05-21 09:27:08 -05:00
Nia Weiss
f4ba34247f
remove attributes
...
Attributes are unmaintained and unused.
They have become more of a liability than a benefit.
This change eliminates them from the codebase.
The only user-visible change (assuming that attrs are not used) is that the attrs field will no longer appear in row JSON.
2021-05-14 10:28:08 -04:00
Kuba Podgórski
a79a36232f
Write remote available shards to etcd, instead of local file.
2021-05-07 15:33:18 +02:00
Alan Bernstein
285d0a0af8
Add log prefix levels
2021-04-12 20:33:39 -05:00
Nia Weiss
9bc1b23b7e
change "External" DB to "Lookup" DB
2021-03-29 12:54:29 -04:00
Nia Weiss
c4aad290ed
address ExternalLookup review comments
2021-03-29 08:22:41 -04:00
Nia Weiss
e9b92e1cd4
add ExternalLookup query
2021-03-25 13:21:28 -04:00
Matt Jaffee
08d4511e6c
fix issue where restarting a cluster logged "invalid pilosa.Message"
...
we were sending pilosa.Message objects from a spool, but actually
passing a pointer to them rather than the Message itself. I'm
concerned this wasn't caught in any test, and also curious if that
needed to be a pointer for some reason or if it's a typo.
Definitely need to write a test still.
2021-03-05 12:51:39 -06:00
Nia Weiss
3fbf6993d0
defer cluster messages until startup
2021-02-25 16:01:49 -05:00
Travis
2bbe1fdde0
remove remaining references to "coordinator"
2021-02-23 17:23:09 -06:00
Antonio Navarro Perez
f0a5ca5d3a
Change coordinator error to primary
...
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-02-23 09:58:22 +01:00
Kuba Podgórski
bfc24a1745
Check state in shardsByNode once stator is implemented
2021-02-17 16:02:28 +01:00
Travis
8f0270acda
adjust openExistenceField() to check on disk first
2021-02-12 20:35:36 -06:00
Travis
7a5192aba6
handle error on LoadSchema() message
2021-02-10 12:00:36 -06:00
Travis
1c3b0f364d
implement ApplySchema, LoadSchema, and LoadSchemaMessage
2021-02-10 11:51:52 -06:00
Travis
8fe1b9a37c
store views in etcd via Schemator
2021-02-10 11:47:26 -06:00
Travis
3542134100
WIP: implement Schemator
2021-02-08 10:42:55 -06:00
Antonio Navarro Perez
b1ff8e55cd
Unify state
...
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-02-06 16:53:42 -06:00
Travis
30d4687a99
remove type Topology
2021-02-05 16:13:43 -06:00
Kuba Podgórski
ab37bf5c7b
Apply resizer interface (remove and add node)
2021-02-04 20:26:41 +01:00
Travis
afc53e1163
remove ReceiveEvent
2021-02-03 23:31:38 -06:00
Travis
652014539c
remove temporary Gossiper interface
2021-02-03 23:06:51 -06:00
Travis
6e4ea21ce5
remove gossip listenForJoins
2021-02-03 22:34:45 -06:00
Travis
f9661b7b81
add PrimaryNodeID() method to Noder interface
2021-02-03 15:11:24 -06:00
Kuba Podgórski
6601835ba1
Remove public mutex from Node
2021-02-03 19:37:54 +01:00
Kuba Podgórski
6826997852
Remove state member from cluster.
...
Remove all function SetState like. Stop broadcasting cluster state.
2021-02-03 15:16:59 +01:00
Antonio Navarro Perez
c45e21640c
Change coordinator to primary
...
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-02-02 15:56:12 -06:00
Travis
91c0df29a1
remove disco debugging printlns
2021-02-01 22:28:43 -06:00
Travis
26176c15eb
fix linter issues (wrap all ClusterStates in string() until we update the type)
2021-02-01 16:57:35 -06:00
Travis
855e1b35f5
more use of noder; remove c.nodes
...
disable some of the gossip logic
implement some of the stator logic
2021-01-31 23:42:49 -06:00
Travis
97eaff5c82
use Etcd Noder; actually use EtcdWithCache
2021-01-31 23:42:44 -06:00
Travis
7ed1417893
set node metadata in server.Open()
2021-01-30 09:12:07 -06:00
Travis
457194f6a8
update config to support etcd arguments
2021-01-29 19:43:48 -06:00
Kuba Podgórski
cef6925e7b
Fix server tests
2021-01-28 17:39:58 +01:00
Travis
a196e1e74c
use etcd for node.ID
...
this commit adds a temporation interface for starting gossip.
we needed this so we can start gossip AFTER setting up the node,
but before waitingForJoins.
2021-01-23 19:52:58 -06:00
Travis
08fae2be4c
introduce storage.Config
2021-01-20 22:05:38 -06:00
Travis
1d55e671a2
go mod tidy and linter
...
fix race
cleanup
2021-01-15 17:48:44 -06:00
Travis
684b20edb3
disco open/close debugging
2021-01-14 23:02:58 -06:00
Kuba Podgórski
36f17eee1d
global mutex on GetPorts
2021-01-14 18:04:16 +01:00
Kuba Podgórski
a100a38b4a
don't close disco on Server.Close
2021-01-14 17:47:06 +01:00
Kuba Podgórski
0e4a7a29fb
close disco before holder
2021-01-14 17:35:30 +01:00