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
Todd Gruben
346a248019
Merge branch 'core-334-fix' of github.com:tgruben/privilosa into core-334-fix
2021-03-12 13:28:11 -06:00
Todd Gruben
2711bf321f
replace error with wrap
2021-03-12 13:27:28 -06:00
tgruben
fd7ea42451
Merge branch 'master' into core-334-fix
2021-03-12 12:11:52 -06:00
Kuba Podgórski
38c2c4ad6f
Merge pull request #1526 from seebs/testLeaks
...
CORE-358 Test leaks
2021-03-12 19:10:02 +01:00
Todd Gruben
94d7b295ea
added more graceful error handling for corrupt containers
2021-03-12 10:37:40 -06:00
seebs
78ed9a2d57
Merge branch 'master' into testLeaks
2021-03-12 10:02:11 -06:00
Kuba Podgórski
1b486ac812
Merge pull request #1522 from kuba--/core-344
...
CORE-344: Fix deprecation plan for "github.com/golang/protobuf/protoc-gen-go/generator" package
2021-03-12 15:29:54 +01:00
Kuba Podgórski
61585b251e
Merge branch 'master' into testLeaks
2021-03-12 14:14:03 +01:00
Kuba Podgórski
4043f22db2
Merge branch 'master' into core-344
2021-03-12 14:08:03 +01:00
Travis Turner
81c47b778e
Merge pull request #1525 from travisturner/startup-log-dir
...
[CORE-362] Create the data directory during "log startup" if it doesn't already exist
2021-03-12 06:47:45 -06:00
Kuba Podgórski
1ba52dbca9
Update go.sum
2021-03-12 13:06:23 +01:00
Kuba Podgórski
a12a130420
Merge branch 'master' into core-344
2021-03-12 12:51:58 +01:00
Kuba Podgórski
ddc924de0c
go mod tidy
2021-03-12 12:48:53 +01:00
Seebs
ef8dd91077
report errors more clearly when trying to recreate leases
...
There's some loose ends here because really we probably want to be
using the top-level server logger, and we should fix that, but in the
mean time, let's not swallow the errors as much, because the last
line printed doesn't actually show what the error was, but it could.
To do this, we distinguish between the current error (which might
be a wrapper around DeadlineExceeded) and a previous error which
we might prefer to return, if one exists, since it's more likely
the "real" cause.
2021-03-11 19:42:10 -06:00
Seebs
1045268f01
use testhook to ensure temporary files and directories are cleaned up
...
In nearly all cases, we can just switch ioutil.TempDir->testhook.TempDir
and similarly for TempFile. There's one case where we can't because we
need files to be removed before tests are over.
Also in the process give identifiable names to a lot of temporary files
and make sure they're being cleaned up, and don't use "/tmp/foo" as a
file name in a test that could be running in more than one test process
at once. :)
2021-03-11 19:42:10 -06:00
Travis
9e0ea9709a
Create the data directory during "log startup" if it doesn't already exist.
...
Prior to using etcd for node membership, the data director was created
during the cluster topology setup. Since that no longer exists, we
weren't actually creating the data directory before getting to
logStartup(). So this change ensure that the data directory exists.
2021-03-11 17:31:46 -06:00