Matt Jaffee
ec3982c0ff
pull out advertise URI changes
2018-11-02 16:10:39 -05:00
Matt Jaffee
8db7a78a93
unpushed WIP on cluster-tests
2018-10-23 11:10:24 -05:00
Todd Gruben
c0a3b7a781
fmt
2018-10-17 12:35:00 -05:00
Todd Gruben
9bb372a09e
Merge branch 'fix-logger' of github.com:tgruben/pilosa into fix-logger
2018-10-17 11:12:57 -05:00
Todd Gruben
e5e2237fc0
changed order of logger options
2018-10-17 11:12:37 -05:00
tgruben
96e7107870
Merge branch 'master' into fix-logger
2018-10-17 10:52:51 -05:00
Todd Gruben
0df193cf98
revert to existing api with panic per jaffee
2018-10-17 10:29:58 -05:00
Ben Johnson
f8608227d1
Add DeleteAvailableShard()
...
This commit adds the ability to remove an 'available shard'
from the shard cache. This does not affect shards known to be
available because of local data.
2018-10-17 08:50:06 -06:00
tgruben
1895233ed8
Merge branch 'master' into fix-logger
2018-10-11 06:58:17 -05:00
Todd Gruben
85ebaf298d
removed logging from translate store replaced with error
2018-10-01 11:04:47 -05:00
Yuce Tekol
2830fb46e6
Adds diagnostics CPUArch field
2018-10-01 15:31:13 +03:00
Cody Soyland
2521922d7b
Properly wrap translation store errors, decrease test map size to prevent failure on 32-bit
2018-09-25 11:35:58 -05:00
Travis Turner
cdfcd6db5e
store remoteAvailableShards to file
2018-09-24 15:37:43 -05:00
Travis Turner
1039390686
fixes pass-by-value issue in proto decode
2018-09-24 13:11:54 -05:00
Cody Soyland
52ba336461
Address code review feedback
2018-09-20 16:05:28 -05:00
Cody Soyland
7a32745b28
Make translate map size configurable.
2018-09-19 12:35:00 -05:00
Ben Johnson
f4c9c0fed3
Maintain available shards set.
...
This commit removes the previous `MaxShard` tracking and replaces
it with an `Available Shards` set tracking. This allows sparse shard
tracking without implicitly tracking all shards in between.
2018-08-22 07:57:58 -06:00
Matt Jaffee
e16c43c3bc
Merge branch 'master' into 1492-ae-and-resize
2018-08-20 09:13:35 -05:00
Travis Turner
d50a0e853c
change NewTranslateStore() to take an interface for backward compatibility
2018-08-13 12:04:22 -05:00
Travis Turner
b304de6536
Treat coordinator as primary translate store.
...
Daisy-chain other nodes based on their position in the cluster.
Deprecate the `primary-url` configuration option.
2018-08-13 11:06:16 -05:00
Matt Jaffee
ab63c8e7b6
add forgotten server changes which support AE test
2018-08-09 16:07:05 -05:00
Matt Jaffee
0e467e5492
rename cluster.nodes and fix race in API
2018-08-08 15:11:39 -05:00
Matt Jaffee
16eff6de8c
prevent anti entropy and cluster resize from running simultaneously
2018-08-08 14:41:54 -05:00
Travis Turner
f9a265f94d
fix places where empty IndexOptions were being used
2018-07-23 17:23:54 -05:00
Cody Soyland
187ded0a52
Fix linter issues: maligned
2018-07-19 11:07:59 -05:00
Matt Jaffee
64c3dae4d7
fix error message handler->holder
2018-07-10 16:40:45 -05:00
Matt Jaffee
c2c1910671
fix comment typos
2018-07-10 16:38:55 -05:00
Matt Jaffee
b7e5f8842e
add a configurable timeout to http handler closing
...
refactor handler Close func to use errgroup to be a bit less messy.
refactor pilosa.Server closing to actually return an underlying error if one occurs
add option to pilosa/test.Cluster and pilosa/server.Command to control close
timeout. currently is only used by the http handler, but conceivably could be
passed as a parameter to other subsystems of pilosa/server.Command
2018-07-10 15:16:35 -05:00
Cody Soyland
3e91a0d32c
Unexport NodeStateReady
2018-07-05 23:11:56 -05:00
Cody Soyland
92d521912e
Unexport NewNopSystemInfo
2018-07-05 23:11:56 -05:00
Cody Soyland
5f74927d03
Unexport NewDiagnosticsCollector
2018-07-05 23:11:56 -05:00
Cody Soyland
0648d0fc75
Unexport Holder.RecalculateCaches
2018-07-05 23:11:56 -05:00
Cody Soyland
7245a93676
Unexport DiagnosticsCollector
2018-07-05 23:11:56 -05:00
Matt Jaffee
0a94d2f10d
Merge branch 'develop' into core-structs
2018-07-05 16:38:14 -05:00
Matt Jaffee
2cec75e399
add proto encoding subpackage and use for send and receive message
2018-07-05 12:00:42 -05:00
Matt Jaffee
1b2aaa26bf
export NodeEvent
2018-07-05 09:26:58 -05:00
Travis Turner
44f0b992f6
change all CreateField() methods to take functional options instead of FieldOptions
2018-07-04 21:22:35 -05:00
Matt Jaffee
6417f468bb
wip implement more... still quite broken
2018-07-04 16:50:20 -05:00
Matt Jaffee
4ef8fff9b6
WIP, broken. refactoring to isolate intneral structs and define core structs
2018-07-04 07:29:16 -05:00
Matt Jaffee
5ff77c816a
get rid of unecessary server stuff and export node and uri
2018-07-03 13:26:51 -05:00
Matt Jaffee
f6aef32093
make gossip's interface to Pilosa the API struct rather than effectively being pilosa.Server
2018-07-03 12:58:18 -05:00
Matt Jaffee
06ad83b64b
more unexports - index methods and fields
2018-07-03 08:10:33 -05:00
Matt Jaffee
009242fef9
unexport more Holder stuff (gorename)
2018-07-02 14:07:06 -05:00
Matt Jaffee
9995b0032e
unexport Holder.Fragment, HolderSyncer and HolderCleaner
2018-07-02 14:00:31 -05:00
Matt Jaffee
4182678d5a
work on unexporting View stuff
2018-07-02 10:11:56 -05:00
Matt Jaffee
3be609ed10
unexport newCluster and some other stuff
2018-07-02 09:10:09 -05:00
Matt Jaffee
9ea300da20
unexport broadcaster
2018-07-02 08:34:58 -05:00
Matt Jaffee
91f531f2cd
more unexports - executor, api fields
2018-07-02 08:14:13 -05:00
Matt Jaffee
7801b81b10
unexport cluster (gorename)
2018-07-02 07:56:51 -05:00
Matt Jaffee
ea77db895a
fix syncholder test and a few bugs
...
The http internal client's FragmentBlocks and Blockdata methods were being used
incorrectly, and incorrect respectively. One was not being passed a node URI by
monitorAntiEntropy, and the other was always using the defaultURI regardless of
what was passed to it. Antientropy was doubling not working because of this. I
think this crept in pretty recently, so hasn't actually affected anyone.
I exposed a SyncData method on Server so that we can invoke the anti entropy
task manually instead of trying to set up the interval so that it will run and
then sleeping and waiting for it to run. Now that this test works the way it
does, the other anti entropy test is obsolete, and I deleted it.
2018-06-29 14:48:13 -05:00