No description
Find a file
2021-02-18 12:33:01 +01:00
.circleci Disable cgo on all builds, add additional tests for docker 2020-12-08 19:42:51 -06:00
.github Add changelog steps to PR template 2019-04-12 13:47:40 -05:00
api/client add support for inspecting with a query 2020-07-09 13:29:15 -04:00
boltdb remove code related to pilosa-chk 2021-02-05 16:13:43 -06:00
cmd remove old, now conflicting test value 2021-02-12 21:21:56 -06:00
ctl Change coordinator to primary 2021-02-02 15:56:12 -06:00
debugstats introduce storage.Config 2021-01-20 22:05:38 -06:00
disco stop storing a value for views in etcd 2021-02-15 14:39:52 -06:00
docs deprecate cluster.long-query-time and create long-query-time 2020-12-10 10:51:31 -06:00
encoding/proto Check state in shardsByNode once stator is implemented 2021-02-17 16:02:28 +01:00
etcd stop storing a value for views in etcd 2021-02-15 14:39:52 -06:00
gcnotify v2.0.0 2019-10-08 14:56:17 -06:00
generator Address TODOs in roaring tests 2020-05-21 13:28:54 -05:00
gopsutil Upgrade gopsutil 2020-12-14 10:58:28 -06:00
gossip remove the rest of the gossip code (except config) 2021-02-04 13:03:02 -06:00
hash [hash] Remove duplicated blake3 code 2020-09-07 12:24:22 +02:00
http Merge branch 'master' into disco 2021-02-12 20:29:41 -06:00
internal implement ApplySchema, LoadSchema, and LoadSchemaMessage 2021-02-10 11:51:52 -06:00
lattice@fa773628a2 update lattice version to correct from accidental downgrade 2021-02-12 14:50:10 -06:00
logger log in UTC in fixed width microseconds 2020-10-21 18:36:28 +00:00
lru so much lint 2019-04-16 12:07:18 -05:00
mock remove code related to pilosa-chk 2021-02-05 16:13:43 -06:00
net add subpackages: topology, net 2021-01-15 11:47:35 -06:00
pg Finish implementing port wrapper 2021-01-13 22:56:54 -06:00
pql Merge master into disco 2021-01-28 18:03:38 -06:00
prometheus Revert "Add tags to MaxRow metric" 2020-04-10 20:59:19 -05:00
proto Remove TrackExistence configuration from gRPC CreateIndex 2021-01-07 15:19:08 -06:00
rbf Merge branch 'master' into disco 2021-02-05 15:58:36 -06:00
roaring Merge master into disco 2021-01-28 18:03:38 -06:00
scripts remove some more TXSRCs that slipped in 2021-02-12 21:44:20 -06:00
server Add regression test 2021-02-18 12:33:01 +01:00
shardwidth Fix enterprise license header and add shardwidth files to license header check 2019-04-12 11:57:28 -05:00
short_txkey pilosa: only open views with data 2020-12-19 00:03:31 +00:00
sql add withViews argument to api.Schema() method 2021-02-08 10:42:55 -06:00
statik Add missing file 2020-08-31 09:02:46 -05:00
stats query translation WIP 2020-10-22 10:47:29 -04:00
statsd v2.0.0 2019-10-08 14:56:17 -06:00
storage introduce storage.Config 2021-01-20 22:05:38 -06:00
synthload blue_green migration. holdbkg.go holder goroutine. 2020-09-11 14:24:15 -05:00
syswrap avoid race on max count reads and writes 2020-02-21 16:38:36 -06:00
test Add regression test 2021-02-18 12:33:01 +01:00
testdata Test cases for Store(Distinct) 2020-09-14 14:15:29 -05:00
testhook disco open/close debugging 2021-01-14 23:02:58 -06:00
toml Add license headers to files missing them and CI check to verify they are present. Fixes #1633 2019-04-12 11:30:41 -05:00
topology Check state in shardsByNode once stator is implemented 2021-02-17 16:02:28 +01:00
tracing add trivial execution-time profiling 2019-10-29 15:23:37 -05:00
txkey pilosa: only open views with data 2020-12-19 00:03:31 +00:00
.dockerignore Disable cgo on all builds, add additional tests for docker 2020-12-08 19:42:51 -06:00
.gitignore Add git-submodule to manage lattice version 2021-01-22 15:05:19 -06:00
.gitmodules Add git-submodule to manage lattice version 2021-01-22 15:05:19 -06:00
.golangci.yml fix golangci-lint complaints 2019-11-10 17:58:46 -06:00
api.go ensure field.CreatedAt is set on loadField 2021-02-15 21:28:20 -06:00
api_test.go add withViews argument to api.Schema() method 2021-02-08 10:42:55 -06:00
apimethod_string.go Apply resizer interface (remove and add node) 2021-02-04 20:26:41 +01:00
attr.go v2.0.0 2019-10-08 14:56:17 -06:00
attr_test.go v2.0.0 2019-10-08 14:56:17 -06:00
audit.go testhook: leak auditing infrastructure 2020-08-24 11:26:39 -05:00
audit_internal_test.go FragProxy reduces string memory consumption drastically 2020-12-11 21:01:15 +00:00
audit_test.go database per shard, HolderConfig, rbf bit-wise import speedups. 2020-09-04 13:00:33 -05:00
barrier.go Remove lmdb dependency and references, vendor Barrier 2020-12-09 08:43:23 -06:00
barrier_test.go Remove lmdb dependency and references, vendor Barrier 2020-12-09 08:43:23 -06:00
bluegreentx.go Include roaring field and key details in usage endpoint 2021-01-29 17:48:24 -06:00
bluegreentx_test.go blue_green migration. holdbkg.go holder goroutine. 2020-09-11 14:24:15 -05:00
bolt.go Merge branch 'master' into disco 2021-02-05 15:58:36 -06:00
bolt_test.go pilosa: only open views with data 2020-12-19 00:03:31 +00:00
broadcast.go implement ApplySchema, LoadSchema, and LoadSchemaMessage 2021-02-10 11:51:52 -06:00
bsi.go clarify bsi-building preconditions 2020-11-20 12:38:53 -05:00
bsi_test.go add licesnse header to bsi_test.go 2020-11-20 12:40:28 -05:00
cache.go pilosa: write lock the fragment when rowcache used 2020-10-28 00:53:38 +00:00
cache_test.go force ranked cache recalculation in Top after a skipped invalidation 2020-08-27 11:05:18 -04:00
catcher.go Include roaring field and key details in usage endpoint 2021-01-29 17:48:24 -06:00
CHANGELOG.md Fix typo 2019-09-17 16:01:21 -05:00
client.go Apply resizer interface (remove and add node) 2021-02-04 20:26:41 +01:00
cluster.go Check state in shardsByNode once stator is implemented 2021-02-17 16:02:28 +01:00
cluster_internal_test.go remove type Topology 2021-02-05 16:13:43 -06:00
cmd.go Copy dependency into project and use pilosa's logger 2019-10-03 09:44:48 -05:00
const_amd64.go remove lmdb as a Tx backend 2020-12-04 23:17:59 +00:00
const_other.go remove lmdb as a Tx backend 2020-12-04 23:17:59 +00:00
CONTRIBUTING.md simplify contributing instructions by removing weird upstream thing 2019-05-01 17:37:52 -05:00
dbshard.go remove instances of os.Getenv("PILOSA_TXSRC") 2021-01-21 21:18:46 -06:00
dbshard_internal_test.go Test cleanup 2021-02-10 14:56:48 +01:00
dbshard_test.go remove lmdb as a Tx backend 2020-12-04 23:17:59 +00:00
diagnostics.go Move disk capacity lookup to gopsutil wrapper package 2020-10-14 12:20:05 -05:00
diagnostics_internal_test.go disco/etcd work: fix lots of races, start all cluster nodes at once. 2021-01-12 21:06:12 -06:00
doc.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
Dockerfile Disable cgo on all builds, add additional tests for docker 2020-12-08 19:42:51 -06:00
Dockerfile-clustertests add lmdb, Tx call stats, and prep for db/shard. 2020-08-17 18:26:58 -05:00
event.go change all references to use subpackages: topology, net 2021-01-15 11:47:36 -06:00
executor.go Check state in shardsByNode once stator is implemented 2021-02-17 16:02:28 +01:00
executor_internal_test.go handling aggregate types: add to protobuf, etc 2021-01-19 16:23:15 -06:00
executor_test.go fix test expected error message 2021-02-16 21:59:35 -06:00
field.go stop storing a value for views in etcd 2021-02-15 14:39:52 -06:00
field_internal_test.go no automatic reuse of Qcx 2020-10-30 00:36:46 +00:00
field_test.go blue_green migration. holdbkg.go holder goroutine. 2020-09-11 14:24:15 -05:00
filesystem.go Add missing file 2020-08-31 09:02:46 -05:00
fragment.go Fix endpoint tests + change BitDepth type to uint64 2021-02-12 20:35:36 -06:00
fragment_internal_test.go Fix endpoint tests + change BitDepth type to uint64 2021-02-12 20:35:36 -06:00
gc.go fix some lint warnings raised in VS-Code 2019-04-17 18:10:05 -05:00
gendebug_test.go testhook: leak auditing infrastructure 2020-08-24 11:26:39 -05:00
generation.go Tx integration milestone 2020-07-27 19:29:46 -04:00
generation_debug.go testhook: leak auditing infrastructure 2020-08-24 11:26:39 -05:00
generation_nodebug.go Sources and Generations: tracking mmapped files 2019-11-12 12:14:29 -06:00
generation_test.go Tx integration milestone 2020-07-27 19:29:46 -04:00
gid.go database per shard, HolderConfig, rbf bit-wise import speedups. 2020-09-04 13:00:33 -05:00
go.mod Merge branch 'master' into disco 2021-02-12 20:29:41 -06:00
go.sum Merge branch 'master' into disco 2021-02-12 20:29:41 -06:00
handler.go Avoid precondition failed (412) on ingest 2021-02-16 20:18:14 +01:00
holder.go ensure field.CreatedAt is set on loadField 2021-02-15 21:28:20 -06:00
holder_internal_test.go WIP: load schema from etcd on holder open; validate indexes, fields, views 2021-02-12 20:32:31 -06:00
holder_test.go adjust openExistenceField() to check on disk first 2021-02-12 20:35:36 -06:00
idalloc.go add ID auto-generation on the coordinator 2020-12-03 13:04:14 -05:00
idalloc_test.go add ID auto-generation on the coordinator 2020-12-03 13:04:14 -05:00
index.go ensure field.CreatedAt is set on loadField 2021-02-15 21:28:20 -06:00
index_internal_test.go blue_green migration. holdbkg.go holder goroutine. 2020-09-11 14:24:15 -05:00
index_test.go database per shard, HolderConfig, rbf bit-wise import speedups. 2020-09-04 13:00:33 -05:00
iterator.go v2.0.0 2019-10-08 14:56:17 -06:00
iterator_internal_test.go rename internal_tests. fix license header 2018-07-04 10:59:08 -05:00
LICENSE Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
license.exceptions Remove lmdb dependency and references, vendor Barrier 2020-12-09 08:43:23 -06:00
like.go add executor tests and license headers for like & UnionRows 2020-07-08 12:55:18 -04:00
like_test.go rbf: OffsetRange, ImportRoaringBits, CountRange work 2020-07-30 20:20:38 -04:00
main_test.go Finish implementing port wrapper 2021-01-13 22:56:54 -06:00
Makefile Merge branch 'master' into disco 2021-02-12 20:29:41 -06:00
metrics.go Merge branch 'master' into metric-typos 2020-09-14 17:20:49 -05:00
mmap_test.go Fix endpoint tests + change BitDepth type to uint64 2021-02-12 20:35:36 -06:00
NOTES rename slice to shard 2018-06-28 14:07:07 -05:00
NOTICE Remove a few more enterprise references 2020-06-26 15:57:21 -05:00
pilosa.go Fix endpoint tests + change BitDepth type to uint64 2021-02-12 20:35:36 -06:00
pilosa_internal_test.go allow field and index names up to 230 characters 2020-01-09 13:02:22 -06:00
pilosa_test.go Fix RBF/pilosa hanging tests 2020-08-06 11:43:41 -06:00
pjobs.go run migration in parallel 2020-11-05 18:31:27 +00:00
pjobs_test.go run migration in parallel 2020-11-05 18:31:27 +00:00
pprof.go remove all instances of txsrc 2021-01-21 21:59:51 -06:00
rbf.go Merge branch 'master' into disco 2021-02-05 15:58:36 -06:00
README.md Add lattice submodule upgrade instructions 2021-01-22 16:51:17 -06:00
row.go Add /schema/details endpoint, which includes field cardinality computed via Count(Distinct()) 2021-02-11 16:42:30 -06:00
row_test.go fix differenceInPlace test 2020-01-30 13:38:31 -06:00
rrtx.go Merge branch 'master' into disco 2021-02-05 15:58:36 -06:00
rrtx_internal_test.go remove instances of os.Getenv("PILOSA_TXSRC") 2021-01-21 21:18:46 -06:00
server.go Check state in shardsByNode once stator is implemented 2021-02-17 16:02:28 +01:00
server_internal_test.go testhook: leak auditing infrastructure 2020-08-24 11:26:39 -05:00
snapshotqueue.go change f.path to f.path() 2021-01-06 15:58:01 -06:00
stattx.go Merge branch 'master' into disco 2021-02-05 15:58:36 -06:00
time.go add logic to restrict time range to available views 2019-02-01 15:30:10 -06:00
time_internal_test.go add logic to restrict time range to available views 2019-02-01 15:30:10 -06:00
tournament.sh remove instances of os.Getenv("PILOSA_TXSRC") 2021-01-21 21:18:46 -06:00
tracker.go Pass SQL query string from mapper to tracker 2021-01-20 10:48:35 -06:00
tracker_test.go Update tests 2021-01-20 10:48:35 -06:00
transaction.go transactions as a list endpoint; added Transaction.CreatedAt 2020-08-12 23:11:54 -05:00
transaction_test.go TestTransactionManager: raise transaction timeouts to avoid sporadic failures 2020-06-29 13:44:20 -04:00
translate.go WIP: load schema from etcd on holder open; validate indexes, fields, views 2021-02-12 20:32:31 -06:00
translator_test.go Unify state 2021-02-06 16:53:42 -06:00
tx.go Include roaring field and key details in usage endpoint 2021-01-29 17:48:24 -06:00
tx_internal_test.go Merge master into disco 2021-01-28 18:03:38 -06:00
tx_test.go remove instances of os.Getenv("PILOSA_TXSRC") 2021-01-21 21:18:46 -06:00
txfactory.go Merge branch 'master' into disco 2021-02-05 15:58:36 -06:00
txfactory_internal_test.go remove instances of os.Getenv("PILOSA_TXSRC") 2021-01-21 21:18:46 -06:00
util.go go mod tidy and linter 2021-01-15 17:48:44 -06:00
utils_internal_test.go remove type Topology 2021-02-05 16:13:43 -06:00
version.go change wording 2021-02-11 11:01:16 -06:00
view.go Fix endpoint tests + change BitDepth type to uint64 2021-02-12 20:35:36 -06:00
view_internal_test.go WIP: implement Schemator 2021-02-08 10:42:55 -06:00
vprint.go database per shard, HolderConfig, rbf bit-wise import speedups. 2020-09-04 13:00:33 -05:00
vprint_test.go remove lmdb as a Tx backend 2020-12-04 23:17:59 +00:00

CircleCI GoDoc Go Report Card license CLA Assistant GitHub release

An open source, distributed bitmap index.

Want to contribute? One of the easiest ways is to tell us how you're using (or want to use) Pilosa. We learn from every discussion!

Docs

See our Documentation for information about installing and working with Pilosa.

Getting Started

  1. Install Pilosa.

Optionally, to include Lattice, the in-browser UI, follow the "Build from source" instructions, and run make generate-statik before make install. When you run a local Pilosa server on the default host, for example, you can access Lattice at localhost:10101.

  1. Start Pilosa with the default configuration:

    pilosa server
    

    and verify that it's running:

    curl localhost:10101/status
    
  2. Follow along with the Sample Project to get a better understanding of Pilosa's capabilities.

Data Model

Check out how the Pilosa Data Model works.

Query Language

You can interact with Pilosa directly in the console using the Pilosa Query Language (PQL).

Upgrading UI

Lattice is now a submodule of Pilosa, for the purpose of keeping the frontend and backend components of the UI system synchronized. When making a change to the UI that requires changing both the backend and frontend, follow steps in this order:

  1. merge frontend (Lattice) PR
  2. run make upgrade-lattice
  3. run git add lattice, git commit -m"Upgrade Lattice", git push
  4. merge backend (Pilosa) PR

Client Libraries

There are supported libraries for the following languages:

License

Pilosa is licensed under the Apache License, Version 2.0.

A copy of the license is located in github.com/pilosa/pilosa/LICENSE. More details about licensing are found in github.com/pilosa/pilosa/NOTICE.

Get Support

There are several channels available for you to reach out to us for support.

Contributing

Pilosa is an open source project. Please see our Contributing Guide for information about how to get involved.