Commit graph

7217 commits

Author SHA1 Message Date
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
Nia
1fa3947f8d
Merge branch 'master' into test-tx-commit-rollback-single-writer-race 2021-03-29 17:51:54 -04: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
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
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
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
Kuba Podgórski
878f7fd4e7
Merge pull request #1546 from kuba--/fix-pb-endpoints
Update internal endpoints
2021-03-25 18:25:38 +01: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
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
tgruben
9e6855b315
Merge branch 'master' into tds 2021-03-23 16:40:48 -05:00
Ben Johnson
1228c6e188
Merge pull request #1532 from molecula/fix-delete-field-panic
CORE-334: Fix panic on field deletion
2021-03-23 09:03:46 -06:00
Antonio Navarro Perez
6e6eb962ee Call cancel when we try to renew the lease after an error.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-03-23 14:20:14 +01:00
Todd Gruben
8c4d7e09ff re-use pilosa tls settings 2021-03-22 16:48:09 -05:00
Kuba Podgórski
1e5388dbe9 Move internals proto files into separate package (pb) 2021-03-22 20:28:00 +01:00
Kuba Podgórski
8131e807bf Add client package with go-pilosa implementation 2021-03-22 20:22:38 +01:00
Ben Johnson
5d2f957404
Merge branch 'master' into fix-delete-field-panic 2021-03-22 08:32:34 -06:00
Todd Gruben
f52b88a962 etcd tls configuration support 2021-03-22 09:10:32 -05:00
Nia
b6810f3ce7
Merge pull request #1535 from niaow/fix-unkeyed-panic
CORE-382 Handle translation errors when using keys against an unkeyed index
2021-03-17 17:16:55 -04:00
Nia Weiss
6f421dad69
handle translation errors when using keys against an unkeyed index
This also adds tests for our error outputs.
2021-03-17 12:02:29 -04:00
Kuba Podgórski
16245b1742
Merge pull request #1534 from kuba--/call-agg/335
CORE-335 Consistency with aggregate functions
2021-03-16 19:54:12 +01:00
Kuba Podgórski
d370452449 Add helper function FirstStringArg 2021-03-16 16:32:35 +01:00
Kuba Podgórski
1dac4c7622 Consistency with aggregate functions 2021-03-16 15:02:40 +01:00
Ben Johnson
195050e20c CORE-334: Fix panic on field deletion 2021-03-15 12:19:43 -06:00
Matthew Jaffee
c6ea56bbad
Merge pull request #1529 from travisturner/cache-bitdepth
[Core-370] Cache BitDepth on bsiGroup during index.Open
2021-03-15 07:38:05 -05:00
Travis
314cf3461d
Cache BitDepth on bsiGroup during index.Open.
Before this change, we were only caching the BitDepth on the
field.options. This was ok as long as applyOptions() was called after
that. But unfortunately, during startup, applyOptions() was called prior
to that being set. So with this commit, we explicitly set the value in
bsiGroup.BitDepth as well.
2021-03-14 22:51:24 -05:00
Matthew Jaffee
9b3cce619a
Merge pull request #1530 from jaffee/revert-custom-json
Revert "Basic pilosa changes for oracle support"
2021-03-14 22:50:37 -05:00
Matt Jaffee
11288c2ae8
Revert "Basic pilosa changes for oracle support"
This reverts commit 47e74f2603.
2021-03-14 22:17:26 -05:00
Nia
c694189648
Merge pull request #1523 from niaow/idalloc-fix
CORE-361 Fix ID allocation API after disco
2021-03-14 16:52:52 -04:00
Nia Weiss
2f4a2bf98f
fix ID allocation API after disco
The ID allocation API was broken because the operations were removed from the list allowed in the NORMAL cluster state.
Additionally the operations were set to only run on non-primaries (where they were actually only supposed to run on the primary).
2021-03-13 07:41:00 -06:00
Nia
ec899bcc64
Merge pull request #1519 from niaow/rbf-typos
fix a typo in the RBF spec
2021-03-13 00:25:12 -05:00
Ben Johnson
ddb8c95737
Merge branch 'master' into rbf-typos 2021-03-12 20:16:17 -07:00
tgruben
29b8501aff
Merge pull request #1527 from tgruben/core-334-fix
[CORE-334]  more graceful error handling for corrupt containers
2021-03-12 15:16:12 -06:00