Kuba Podgórski
6cd8f6a970
Less TestMain_Set_Quick parallel tests
2021-01-15 13:24:41 +01:00
Kuba Podgórski
9a0facaaa3
set even more ports for Node Command
2021-01-14 20:20:23 +01:00
Kuba Podgórski
201e851511
set more ports for Node Command
2021-01-14 20:04:09 +01:00
Antonio Navarro Perez
052aadb3b0
Wrap some missing constructors using ports.
...
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-01-14 10:48:46 +01:00
Travis
27614c42f7
Finish implementing port wrapper
2021-01-13 22:56:54 -06:00
Antonio Navarro Perez
d20b831084
Add port wrapper POC
...
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-01-13 20:14:33 +01:00
Travis
bc13834343
disco/etcd work: fix lots of races, start all cluster nodes at once.
...
port mapper gives out ports from 63000-65000 for the tests
fix another race
http test uses port.MustGetPort
rbf: remove :0 port request
ocd happy
test fix for grpc listener address already in use
test/disco allocates BindGRPC port from the port mapper
dump stack on each GetPort
verify each port is usable right away
server/config.go has Config.Validate() now
panic if gossip port is 0. validate server.Config
fix another gossip port 0
builds
quiet, don't dump stack on each port alloc
builds
happy linter
even gossip fallback should not be zero but rather use the port mapper
2021-01-12 21:06:12 -06:00
Travis
20816ffa20
remove pilosa.URI
2021-01-06 16:19:14 -06:00
Travis
4515a24e48
change all references to use subpackages: topology, net
2021-01-06 16:09:24 -06:00
Matt Jaffee
58b9418f3c
add failing test for field creation race
2020-12-17 16:30:23 -06:00
Maxton Huff
dee700741a
deprecate cluster.long-query-time and create long-query-time
...
moved lonquerytime from cluster into server and moved cluster.longquerytime into top level config
kept cluster.longquerytime for backwards compatibility, favored if both longquerytime options are present
2020-12-10 10:51:31 -06:00
Jason E. Aten
03a54c6d5f
rowcache off by default. pilosa server --rowcache-on turns it back on.
2020-12-08 23:18:45 +00:00
Nia
a4f538ffec
Merge branch 'master' into pilosa-id-gen
2020-12-07 09:46:58 -05:00
Cody Soyland
fc3b64e500
Add table conversion to duration timing
2020-12-04 15:19:12 -06:00
Cody Soyland
c33eafc27e
Add tests for streaming queries
2020-12-04 15:19:12 -06:00
Cody Soyland
6830657d12
Add query duration to gRPC responses
...
This adds a "duration" parameter to RowResponse and TableResponse, which
will be populated with the query duration in nanoseconds.
For QueryPQLUnary and QuerySQLUnary, the duration is a included in the
returned TableResponse.
For QuerySQL and QueryPQL, only the first RowResponse in the stream will
contain the duration.
2020-12-04 15:19:12 -06:00
Nia Weiss
7ea2e4b7e3
add ID auto-generation on the coordinator
2020-12-03 13:04:14 -05:00
Alan Bernstein
65877c1e56
Store start instead of age, skip remote, fix timing bug
2020-11-23 21:31:40 -06:00
Alan Bernstein
0c8e4afe45
Set test nodeIDs to guarantee iteration order in executor
2020-11-23 20:23:28 -06:00
Alan Bernstein
a8a7e53382
Add query-history test
2020-11-23 20:23:28 -06:00
Alan Bernstein
2bc2a32263
Make query history length configurable
2020-11-23 20:23:27 -06:00
Jason E. Aten
957cba1768
performance tuning: rbfcfg package, binary search for wal segment
...
- rbfcfg package holds Config for --rbf- command line flags
- wal.go: replace linear search with bisection for wal segment
2020-10-27 00:49:56 +00:00
Nia
3b93b767fa
Merge branch 'master' into translate-maybe
2020-10-23 13:59:10 -04:00
Jason E. Aten
8d2ad048fa
pilosa server --norowcache disables the row cache
...
- this can lessen memory pressure
- certain backends may not need it
- enables performance benchmarking and tuning
2020-10-22 22:20:48 +00:00
Nia Weiss
5315579378
add some validation
2020-10-22 10:47:29 -04:00
Seebs
5e36638e10
Supply "subject alternative name" for TLS certificates
...
Go killed off using the common name for hostnames starting with 1.15,
but this can be addressed by recreating the certs using a Subject
Alternative Name for the domain for "localhost". This allows tests
to pass without hanging, at least for me.
2020-10-20 14:14:26 -05:00
Jason E. Aten
275779173d
go1.15.3 support with GODEBUG=x509ignoreCN=0
2020-10-20 12:23:35 -05:00
Cody Soyland
a2ee047868
grpc-web cors test
2020-10-16 11:36:41 -05:00
Cody Soyland
31cd119a7e
Move grpc.Server creation into initializer
...
This fixes an issue with the grpc-web middleware using a nil
grpc.Server instance.
2020-10-16 11:36:41 -05:00
Cody Soyland
04b1152224
Add grpc-web to http handler
2020-10-16 11:36:41 -05:00
Alan Bernstein
ab502a0f8d
Add basic test
2020-10-14 21:11:02 -05:00
Alan Bernstein
2a44bdd25c
Collect size-on-disk usage data from all nodes
2020-10-14 12:20:05 -05:00
Cody Soyland
6c10917ceb
Use vdsm.QueryPQLRequest for vdsm.QueryPQLUnary
2020-10-09 13:34:20 -05:00
Cody Soyland
3039aa44af
Use copy of vdsm InspectRequest for better compatibility
2020-10-09 13:22:24 -05:00
Cody Soyland
a58c345232
Use copy of vdsm QueryPQLRequest for better compatibility
2020-10-09 13:22:24 -05:00
Ben Johnson
7b64abbb53
Reduce default RBF DB size to 4GB; remove race skips
2020-10-06 09:36:31 -06:00
Ben Johnson
c978e2242e
Skip some RBF tests during race detection
2020-10-06 09:36:31 -06:00
Kuba Podgórski
5e2a14400a
Add an extra else branches
2020-10-05 17:13:48 -05:00
Jason Aten
fd87e8d2f3
follow suggestion on https://github.com/molecula/idk/issues/224 , does it fix Q2 delete consumer issue?
...
- apparently not, but this might still be worth doing.
2020-10-05 17:13:48 -05:00
Jason E. Aten
fe425a84c0
pilosa-fsck: scan and repair of pilosa backups
...
- the -fix flag repairs replication errors by copying from the primary.
- the -fixkeys flag repairs any string key translation issues.
- make pilosa-fsck installs pilosa-fsck and builds release-pilosa-fsck.COMMIT.GOOS.tar.gz release tarbar
2020-10-02 16:47:56 -05:00
Alan Bernstein
5705b45864
Add a CLI flag for cluster name and include it in /status response
2020-10-01 10:43:49 -05:00
Alan Bernstein
b6af0e5219
Move usage data to new ui-specific endpoint
2020-10-01 10:25:48 -05:00
Alan Bernstein
474261f12f
Add single-node 'bytesOnDisk' object to /status response
2020-10-01 10:25:48 -05:00
Cody Soyland
949ca882fc
Remove unused helper func
2020-09-29 15:30:12 -05:00
Cody Soyland
fdce92eb40
Use shared types from pilosa proto file and enable generic proxying of query calls
2020-09-29 15:30:12 -05:00
Cody Soyland
83704e7973
Proxy unary methods to Pilosa gRPC handler
2020-09-29 15:29:37 -05:00
Cody Soyland
c1e50ed909
Remove VDS references from pilosa proto file, begin porting VDSM service
2020-09-29 15:29:37 -05:00
Kuba Podgórski
b54a289cd8
Fix holes in grpc response for inspect
2020-09-22 12:02:26 +02:00
Nia Weiss
f03ba0e682
add a deprecation warning to Inspect
2020-09-16 12:30:12 -04:00
Kuba Podgórski
dcc237413e
Merge branch 'master' into fix-writable
2020-09-15 19:14:24 +02:00