Jason E. Aten
85f3fa9836
merge with the update to rbf to take a Config parameter
2020-10-27 15:11:45 +00:00
jaten-molecula
4543237e09
Merge branch 'master' into rbf-cli
2020-10-27 10:09:24 -05:00
jaten-molecula
305f81a310
Merge pull request #1034 from jaten-molecula/rbf_checkpoint_rb
...
performance tuning: rbfcfg package, binary search for wal segment
2020-10-27 10:07:47 -05:00
Ben Johnson
2b1d790625
Fix tree key formatting; add --with-tree option
2020-10-27 08:24:56 -06:00
Ben Johnson
7fa1a5edd2
Add RBF CLI commands
2020-10-27 08:12:22 -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
jaten-molecula
14cb29ea7d
Merge pull request #1024 from jaten-molecula/avoid_excessive_directory_scans
...
pilosa: avoid re-scanning shards during holder open
2020-10-23 20:31:05 -05:00
Jason E. Aten
233b3cbc0f
versioned map cleanup
2020-10-24 00:35:25 +00:00
Jason E. Aten
c5e46e4618
one copy of shard map during a reload
2020-10-24 00:20:30 +00:00
Jason E. Aten
8ff6e8e0fd
versioned readonly shards map
2020-10-23 23:50:22 +00:00
Jason E. Aten
2503fe5b66
pilosa: avoid re-scanning shards during Holder.Open()
...
- view.openFragmentInTx was forcing a directory scan
for shards on every open fragment during Holder.Open().
Seen by pprof profile having excessive allocations
from dbshard.go listDirUnderDir().
2020-10-23 23:50:22 +00:00
seebs
2b6cb5fc6c
Merge pull request #1020 from seebs/distinctSet
...
Distinct operations on set fields
2020-10-23 17:09:23 -05:00
seebs
7558afd7ec
Merge branch 'master' into distinctSet
2020-10-23 16:41:00 -05:00
Cody Soyland
35706a3372
Merge pull request #1017 from codysoyland/docker-build
...
Fix Docker build target, enable when building Linux releases
2020-10-23 16:31:30 -05:00
Seebs
765d28bf9d
add test case and bug fix for distinct code
...
The "seenThisRow" value was never getting cleared, which meant that
if the first container on a row didn't happen to contain any post-filter
bits, the rest of the row wouldn't get evaluated.
2020-10-23 16:18:19 -05:00
Cody Soyland
fc29bf5ec8
Fix Docker build target, enable when building Linux releases
2020-10-23 14:27:00 -05:00
Seebs
a2151358ba
Partial implementation: Distinct() supporting set fields
...
Add an exported IntersectionAny() from roaring to let us quickly
check whether two containers have overlap, so we can avoid performing
intersections we don't need to when evaluating containers within
the same row as a previous match. (IntersectionCount on the whole
bitmap would imply doing up to 16 intersections even if we find a bit
right away.)
We also allow ForeignIndex to be set on set, mutex, and time fields,
since all of those could now be reasonable operands for Distinct
ops.
Not yet present: Handling time quantums, but that seems really
desireable.
2020-10-23 13:36:40 -05:00
Nia
c1db627593
Merge pull request #989 from niaow/translate-maybe
...
Allow querying without creating keys
2020-10-23 14:23:35 -04:00
Nia
3b93b767fa
Merge branch 'master' into translate-maybe
2020-10-23 13:59:10 -04:00
Nia Weiss
ddee7ae35e
address review comments for #989 translate-maybe
2020-10-23 10:59:08 -04:00
jaten-molecula
8f1aae9a69
Merge pull request #1016 from jaten-molecula/rowcache_optional
...
pilosa server --rowcache-off disables the row cache
2020-10-22 22:14:51 -05: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
seebs
9eb251ec85
Merge pull request #69 from seebs/ctbench
...
Container op benchmarks
2020-10-22 15:03:09 -05:00
Seebs
8095455355
container performance benchmarking
...
This adds a series of archetypal containers that represent the
common use cases (arrays, bitmaps, or runs of various cardinalities)
and runs the basic operations against them for benchmarking purposes.
`benchpretty` is an app to snatch the BenchmarkCt* lines from
benchmark runs and display them in a possibly more usable form,
mostly as a precursor to cool analysis things.
This also adds a test to verify that intersectionCount(a, b)
is the same as intersect(a, b).N() for all the archetypal
containers.
This also includes a performance fix for intersectBitmapRun which
was spotted while running these tests.
2020-10-22 14:33:03 -05:00
Nia Weiss
afbbc93047
add basic tests for queries with missing keys
2020-10-22 13:19:05 -04:00
Nia Weiss
9204298d06
fix broken rebase on GetNodeUsage
2020-10-22 11:10:36 -04:00
Nia Weiss
8340b9ea64
re-apply single equals fix
2020-10-22 11:03:51 -04:00
Nia Weiss
b0a588f8dd
finish translate-if-exists
2020-10-22 10:50:09 -04:00
Nia Weiss
a74eda1eb0
cleanup of key translation fix
2020-10-22 10:50:08 -04:00
Nia Weiss
c60c699664
deal with linter false positives
2020-10-22 10:47:30 -04:00
Nia Weiss
da52b134bf
the tests pass now
2020-10-22 10:47:30 -04:00
Nia Weiss
5315579378
add some validation
2020-10-22 10:47:29 -04:00
Nia Weiss
1fe0edae08
fix find & create foreign index keys
2020-10-22 10:47:29 -04:00
Nia Weiss
a6e3723190
it mostly works now
2020-10-22 10:47:29 -04:00
Nia Weiss
13a19aeb42
query translation WIP
2020-10-22 10:47:29 -04:00
Nia Weiss
15036787a7
test new translation paths via API
2020-10-22 10:47:29 -04:00
Nia Weiss
8a130c150e
address review comments
2020-10-22 10:47:28 -04:00
Nia Weiss
22d6011d05
apply "maybe" key translation WIP
2020-10-22 10:47:25 -04:00
jaten-molecula
d12639b890
Merge pull request #1014 from jaten-molecula/log_in_utc
...
log in UTC in fixed width microseconds RFC3339 format
2020-10-21 20:01:36 -05:00
Jason E. Aten
aad38d1c60
log in UTC in fixed width microseconds
2020-10-21 18:36:28 +00:00
seebs
4cea813ae8
Merge pull request #999 from seebs/pqlCleanup
...
Fixes some minor PQL issues; adds support for case-insensitive PQL calls
2020-10-20 16:02:42 -05:00
jaten-molecula
fb6feb04f9
Merge branch 'master' into pqlCleanup
2020-10-20 15:21:54 -05:00
seebs
a1e1d86ae3
Merge pull request #1012 from seebs/ignoreCN
...
Supply "subject alternative name" for TLS certificates
2020-10-20 14:50:18 -05:00
Travis Turner
52b91b2df1
Merge branch 'master' into pqlCleanup
2020-10-20 14:19:45 -05: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
jaten-molecula
d929c945bc
Merge pull request #1011 from jaten-molecula/rbf_default
...
rbf is the default Tx type. Dogfood it.
2020-10-20 13:53:21 -05:00
Jason E. Aten
18ad4a8230
rename test-golang-1.14 -> test-golang-1.14.9
2020-10-20 13:37:13 -05:00
Travis Turner
4db93db0c1
Merge branch 'master' into pqlCleanup
2020-10-20 13:19:55 -05:00
Jason E. Aten
275779173d
go1.15.3 support with GODEBUG=x509ignoreCN=0
2020-10-20 12:23:35 -05:00
Jason E. Aten
996b2ccb23
go1.13.15 -> go1.15.3 as our supported versions
2020-10-20 11:58:12 -05:00