Commit graph

7241 commits

Author SHA1 Message Date
Nia Weiss
7734bcd53c
change ID allocation to return a structured error on offset desync
This is used to handle a possible case where a kafka partition is moved to another ingester while a previous ingester is still processing it, causing 2 ingesters to process it at the same time.
This allows a duplicate ingester to skip past messages which have already been ingested.
2021-04-06 10:39:22 -04:00
Antonio Navarro Perez
6664e86222
Merge pull request #1556 from ajnavarro/tests/review-skipped-tests 2021-03-31 16:29:02 +02:00
Kuba Podgórski
ddf7ff7b70
Merge branch 'master' into tests/review-skipped-tests 2021-03-31 15:38:36 +02:00
Nia
aa212cb83b
Merge pull request #1547 from niaow/external-lookup
[CORE-388] Add ExternalLookup query
2021-03-31 08:35:54 -04:00
Nia
d5da6e229c
Merge branch 'master' into external-lookup 2021-03-31 08:12:18 -04:00
Antonio Navarro Perez
ebe3afcb96
Merge branch 'master' into tests/review-skipped-tests 2021-03-31 14:03:35 +02:00
Matthew Jaffee
4856c68760
Merge pull request #1542 from Maxtonian/percentile
CORE-412 change percentile value ranges from 0-1 to 0-100
2021-03-30 09:23:12 -05:00
Maxton Huff
ff82447647
Merge branch 'master' into percentile 2021-03-30 08:20:45 -05:00
Maxton Huff
8c20d9a51c remove redundant error message 2021-03-30 08:13:36 -05:00
Antonio Navarro Perez
03659d8d39 Review skipped tests, and try to execute them again.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-03-30 13:37:33 +02:00
Nia
71b2cb80f7
Merge pull request #1555 from niaow/test-tx-commit-rollback-single-writer-race
Fix DB-close race condition in TestTx_CommitRollback/SingleWriter
2021-03-29 18:13:37 -04:00
Maxton Huff
13ec97abf5 add new test cases for limits and clarify error messages 2021-03-29 16:55:50 -05:00
Nia
1fa3947f8d
Merge branch 'master' into test-tx-commit-rollback-single-writer-race 2021-03-29 17:51:54 -04:00
Maxton Huff
4c8dc8d54f address variable declaration warning 2021-03-29 16:24:56 -05:00
Maxton Huff
377c3f3654 rework checks and reword incorrect type error message 2021-03-29 15:59:30 -05:00
Nia Weiss
c931a3e63f
fix DB-close race condition in TestTx_CommitRollback/SingleWriter
Due to lack of synchronization, this test would sometimes close the DB before terminating a transaction:
=== RUN   TestTx_CommitRollback/SingleWriter
    tx_test.go:132: db still has 1 active transactions; must closed before closing db

The test now waits for the goroutines to terminate before closing the DB.
2021-03-29 15:06:07 -04:00
Kuba Podgórski
6185abacc1
Merge pull request #1552 from kuba--/test-pilosa/client
[CORE-458] Integration tests client against cluster
2021-03-29 19:07:53 +02:00
Nia Weiss
9bc1b23b7e
change "External" DB to "Lookup" DB 2021-03-29 12:54:29 -04:00
Kuba Podgórski
c23bc901e8 Integration tests client against cluster 2021-03-29 18:31:45 +02:00
Kuba Podgórski
b835221ded
Merge pull request #1553 from kuba--/wth-is-vprint
[CORE-452] Move `vprint` to separate package
2021-03-29 18:10:18 +02:00
Kuba Podgórski
9a02004a4f Move vprint to separate pakage 2021-03-29 14:29:19 +02:00
Nia Weiss
c4aad290ed
address ExternalLookup review comments 2021-03-29 08:22:41 -04:00
Kuba Podgórski
8948c4531a
Merge pull request #1550 from ajnavarro/fix/use-at-least-3-nodes-on-cluster-tests
[CORE-432] Add at least 3 nodes on test clusters.
2021-03-27 17:07:17 +01:00
Maxton Huff
4ce71eeddf change nth value limit message and number of test int64 nth values 2021-03-26 16:54:44 -05:00
Maxton Huff
f06c13abcd alter incorrect type error message 2021-03-26 16:11:16 -05:00
Maxton Huff
6c94bfdb5e improve error responses and change switch statement to allow int64 2021-03-26 13:56:22 -05:00
Maxton Huff
87412068f1 add new test to account for int64 nth values 2021-03-26 13:01:31 -05:00
Antonio Navarro Perez
79c6493d9a Fix executor test.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-03-26 13:21:56 +01:00
Antonio Navarro Perez
0483553b16 Fix two more tests
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-03-26 13:04:15 +01:00
Antonio Navarro Perez
7ec85a1c0f Add at least 3 nodes on test clusters.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-03-26 10:16:41 +01:00
Maxton Huff
8746444cdb add error message for invalid type 2021-03-25 16:57:08 -05:00
Maxton Huff
61beef7e5a add Int64() function and include case of int64 2021-03-25 16:27:55 -05:00
Kuba Podgórski
878f7fd4e7
Merge pull request #1546 from kuba--/fix-pb-endpoints
Update internal endpoints
2021-03-25 18:25:38 +01:00
Nia Weiss
e9b92e1cd4
add ExternalLookup query 2021-03-25 13:21:28 -04:00
Kuba Podgórski
65cb2cdf73 Update internal endpoints 2021-03-25 18:00:56 +01:00
Kuba Podgórski
0649ba3f8d
Merge pull request #1545 from kuba--/fix-endpoint
Fix internal endpoint
2021-03-25 17:18:37 +01:00
Kuba Podgórski
761190ec32 Fix internal endpoint 2021-03-25 16:44:05 +01:00
Kuba Podgórski
989a01db33
Merge pull request #1539 from kuba--/core-230/go-pilosa
[CORE-230] Combine go-pilosa and pilosa into one repo
2021-03-25 15:31:32 +01:00
Kuba Podgórski
40337cff09
Merge branch 'master' into core-230/go-pilosa 2021-03-24 21:23:04 +01:00
tgruben
76b676a256
Merge pull request #1537 from tgruben/tds
[CORE-311] etcd tls configuration support
2021-03-24 12:30:50 -05:00
Kuba Podgórski
000f708c40 Address PR comments
+ some docs
2021-03-24 18:09:01 +01:00
Maxton Huff
d3438e8a80 correct k calculation and change test nth values 2021-03-24 10:58:47 -05:00
Kuba Podgórski
d6129517db
Update handler.go
Co-authored-by: Travis Turner <travis@pilosa.com>
2021-03-24 16:49:32 +01:00
Todd Gruben
e46a41638f Merge branch 'tds' of github.com:tgruben/privilosa into tds 2021-03-24 10:44:31 -05:00
Todd Gruben
6bafa989e0 adjust etcd config comments 2021-03-24 10:43:28 -05:00
tgruben
160e64fbf3
Merge branch 'master' into tds 2021-03-24 10:07:50 -05:00
Kuba Podgórski
913c909ef7
Merge branch 'master' into core-230/go-pilosa 2021-03-24 15:19:44 +01:00
Kuba Podgórski
03386392ea Fix typos, replace panics by error 2021-03-24 15:15:50 +01:00
Antonio Navarro Perez
7cf4233fdb
Merge pull request #1541 from ajnavarro/fix/call-cancel-if-any 2021-03-24 11:35:41 +01:00
Antonio Navarro Perez
ffcaa1b500
Merge branch 'master' into fix/call-cancel-if-any 2021-03-24 10:30:39 +01:00