Commit graph

7860 commits

Author SHA1 Message Date
Samir Patel
3fcdc6ff9e same 2021-10-20 17:11:03 -05:00
Samir Patel
7b39ab2bbd same 2021-10-20 17:09:34 -05:00
Samir Patel
00b6c2ff8a change dockerfile path 2021-10-20 16:59:03 -05:00
Samir Patel
dd56bdf645 runs after linux arm64 build 2021-10-20 16:50:35 -05:00
Samir Patel
34a04d276e change path to bin 2021-10-20 16:38:07 -05:00
Samir Patel
686f3a8684 remove lattice from dockerfile 2021-10-20 16:23:20 -05:00
Samir Patel
225b4a7a58 try with shell runner instead of dind 2021-10-20 15:17:23 -05:00
Samir Patel
554d3f1e35 same5 2021-10-20 14:34:24 -05:00
Samir Patel
5b0244e228 same4 2021-10-20 14:15:07 -05:00
Samir Patel
bde29ec792 same3 2021-10-20 14:01:05 -05:00
Samir Patel
35dc4aa07a same2 2021-10-20 13:47:29 -05:00
Samir Patel
93a5cab3fc same 2021-10-20 13:05:14 -05:00
Samir Patel
86c45fba1c same 2021-10-20 12:49:49 -05:00
Samir Patel
9e2992424d same 2021-10-20 12:41:38 -05:00
Samir Patel
e2f3a645c1 try to fix yml syntax 2021-10-20 12:28:26 -05:00
Samir Patel
aa0d5040e5 remove @ from yaml 2021-10-20 12:21:05 -05:00
Samir Patel
a83b7f64a0 tests if docker gets built in gitlab 2021-10-20 11:20:20 -05:00
Fletcher Haynes
3605449b53
Merge pull request #1734 from molecula/gitlab
Migrated Cloud Build to GitLab
2021-10-15 10:07:31 -07:00
Fletcher Haynes
72a2689e4c Migrated Cloud Build to GitLab
This adds in a config YAML file for gitlab
2021-10-14 18:37:06 -07:00
nagamocha3000
263a5b86c9
Merge pull request #1733 from nagamocha3000/core-919-field-deadlock
CORE-919 Fix deadlock on field recreation after node restart
2021-10-14 18:20:25 +03:00
nagamocha3000
c6b7089332 Add comment as to why we are using os.Exit instead of panic 2021-10-14 18:07:02 +03:00
nagamocha3000
bce008df26 Fix deadlock on delete then recreate field after node restart 2021-10-14 17:04:09 +03:00
nagamocha3000
07a340ba9d Add test for deadlock on field recreation 2021-10-13 23:11:56 +03:00
tgruben
9d2d30feb7
Merge pull request #1718 from tgruben/sql2-type
Better type support in result set for looker (postgres) sql2 interface
2021-10-12 12:36:15 -05:00
Todd Gruben
4d4f64a339 address ben's comments 2021-10-12 11:21:14 -05:00
Todd Gruben
5d57d361f4 quite down 2021-10-12 10:50:03 -05:00
Todd Gruben
e4e0d13837 go mod tidy correction? 2021-10-12 10:40:32 -05:00
Todd Gruben
c4c7d91bf0 make linker happy 2021-10-12 10:24:19 -05:00
Todd Gruben
34dad863e2 wip 2021-10-12 10:20:24 -05:00
Todd Gruben
caee5680c3 wip 2021-10-12 10:20:24 -05:00
Todd Gruben
1a068cf0e2 added type support for looker; added intercept for yellowfin typelen query 2021-10-12 10:20:24 -05:00
Kasey C. Rodgers
c4a348724e
Merge pull request #1726 from molecula/csv-error-17
adds more detail to CSV ingest error message
2021-10-12 07:04:22 -07:00
Kasey C. Rodgers
25230693c5
Merge branch 'master' into csv-error-17 2021-10-08 13:55:58 -07:00
Kasey C. Rodgers
ded60af8c3
Update pilosa.go
Co-authored-by: Matthew Jaffee <jaffee@pilosa.com>
2021-10-08 13:46:17 -07:00
Fletcher Haynes
276dab6d12
Merge pull request #1728 from molecula/cicd
Added in various CI files
2021-10-08 12:39:08 -07:00
Fletcher Haynes
6eefd2d1f0
Merge branch 'master' into cicd 2021-10-08 12:18:26 -07:00
Fletcher Haynes
155855d97f Added in various CI files
This adds in configs for Cloud Build, Artifactory, and GitLab CI/CD.
2021-10-08 12:16:03 -07:00
tgruben
746212f63f
Merge pull request #1727 from tgruben/wip-partial-restore
partial backup/restore
2021-10-08 12:58:33 -05:00
Todd Gruben
71f1e6f1dd linter 2021-10-08 12:20:53 -05:00
kcrodgers24
b2c73b6a41 changes error message text for additional clarity 2021-10-08 09:47:16 -07:00
Todd Gruben
786bebe58b partial backup/restore 2021-10-08 10:50:52 -05:00
kcrodgers24
1f257aab9c adds more detail to CSV ingest error message 2021-10-08 08:27:49 -07:00
Ben Johnson
0d548094eb
Merge pull request #1724 from molecula/sql-inner-join
CORE-809: Aggregate COUNT() with INNER JOIN
2021-10-07 14:56:28 -06:00
Ben Johnson
98e7ade591 CORE-809: Aggregate COUNT() with INNER JOIN 2021-10-07 14:20:07 -06:00
seebs
39aa12b12a
Merge pull request #1723 from molecula/seebs/genfix
don't close storage after failing to open cache
2021-10-01 15:52:42 -05:00
Seebs
8433f81b68 don't close storage after failing to open cache
If the inner function that handles the open of storage and cache
fails, we close the fragment. If we closeStorage() before that,
then we can try to close the storage again, which causes a panic
when we try to mark the generation as Done again.

I was going to set f.gen = nil after marking it done, but I'm
not feeling safe about that -- there's too many places where
we check things about f.gen, and it seems unsafe. The generation
code should be removed at some point, because it all exists
as a workaround for not having any way to detect when reads are
"done", because we didn't want to do something huge and intrusive,
like adding the Tx system and requiring transactions to get
closed.
2021-10-01 11:02:45 -05:00
seebs
8ed922d30e
Merge pull request #1720 from molecula/fsync
Fsync
2021-10-01 10:58:13 -05:00
Seebs
9db87f78d0 fix go.mod/go.sum 2021-10-01 10:45:08 -05:00
Seebs
214a1492a8 kill off a ton more fsyncs
Performance of tests on MacOS has been atrocious for a while, and
a lot of that is fsync, so we're trying to make that optional.

To test all of this, I modified RBF to panic if anything tried to
open an RBF database without disabling fsync, and ran the tests that
way, and tracked down the various places this could still happen.

There's a lot of places in our tree where we were creating
test holders which were not getting created with fsync disabled, which
results in a surprisingly large number of points at which we end
up calling fsync in tests, which makes tests much slower than they
need to be. There's also a bunch of places where the flags don't get
propagated correctly; for instance, storage.fsync didn't propagate
to the RBFConfig.

We add an "fsync enabled" flag to OpenTranslateStoreFunc, so we can
tell translation stores that we don't need syncing, so the server's
config can be passed on appropriately.

More of the test code that sets things up is correctly configuring
that flag by default.

We also change the barely-used bolt storage backend to support this as
well.

With this done, the only calls to fsync left in a run of `go test -short`
in the top-level directory are from the zap logger in etcd, and consumed
around 0.03 seconds. The overall impact is that `go test -short`
went from "takes enough more than 10 minutes that i don't know how long
it takes" to about 2.5 minutes.
2021-10-01 10:45:08 -05:00
Seebs
e774acb4a0 disable a few more fsyncs in boltdb
boltdb has a couple of places where it fsyncs even when fsync is
disabled, this turns out to cost an amazing amount of time over
several thousand databases in our test run. In theory, they are
rare circumstances compared to updates; in practice, when you
open 256 partition key translation databases per server opened
and most of them never get written to, not so much.
2021-10-01 10:45:08 -05:00