open-consul/agent/consul/state
Dhia Ayachi f605689154
Partition/kv indexid sessions (#11639)
* state: port KV and Tombstone tables to new pattern

* go fmt'ed

* handle wildcards for tombstones

* Fix graveyard ent vs oss

* fix oss compilation error

* add partition to tombstones and kv state store indexes

* refactor to use `indexWithEnterpriseIndexable`

* Apply suggestions from code review

Co-authored-by: Chris S. Kim <ckim@hashicorp.com>
Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>

* partition `tableSessions` table

* fix sessions to use UUID and fix prefix index

* fix oss build

* clean up unused functions

* fix oss compilation

* add a partition indexer for sessions

* Fix oss to not have partition index

* fix oss tests

* remove unused operations_ent.go and operations_oss.go func

* convert `indexNodeCheck` of `session_checks` table

* partition `indexID` and `indexSession` of `tableSessionChecks`

* remove partition for Checks as it's always use the session partition

* partition sessions index id table

* fix rebase issues

Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
Co-authored-by: Chris S. Kim <ckim@hashicorp.com>
Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>
2021-11-24 11:34:36 -05:00
..
acl.go
acl_events.go
acl_events_test.go
acl_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
acl_oss_test.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
acl_schema.go
acl_test.go
autopilot.go
autopilot_test.go
catalog.go Partition session checks store (#11638) 2021-11-24 09:10:38 -05:00
catalog_events.go
catalog_events_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
catalog_events_test.go
catalog_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
catalog_oss_test.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
catalog_schema.go
catalog_test.go
config_entry.go ca: accept only the cluster ID to SpiffeIDSigningForCluster 2021-11-16 16:57:21 -05:00
config_entry_intention.go
config_entry_intention_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
config_entry_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
config_entry_oss_test.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
config_entry_schema.go
config_entry_test.go
connect_ca.go ca: Only initialize clusterID in the primary 2021-11-05 18:08:44 -04:00
connect_ca_test.go
coordinate.go
coordinate_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
coordinate_oss_test.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
coordinate_test.go
delay_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
delay_test.go
federation_state.go
graveyard.go KV state store refactoring and partitioning (#11510) 2021-11-08 09:35:56 -05:00
graveyard_oss.go refactor session state store tables to use the new index pattern (#11525) 2021-11-08 16:20:50 -05:00
graveyard_test.go KV state store refactoring and partitioning (#11510) 2021-11-08 09:35:56 -05:00
index_connect_test.go
indexer.go Partition session checks store (#11638) 2021-11-24 09:10:38 -05:00
intention.go
intention_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
intention_test.go
kvs.go refactor session state store tables to use the new index pattern (#11525) 2021-11-08 16:20:50 -05:00
kvs_oss.go Partition/kv indexid sessions (#11639) 2021-11-24 11:34:36 -05:00
kvs_oss_test.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
kvs_test.go KV state store refactoring and partitioning (#11510) 2021-11-08 09:35:56 -05:00
memdb.go
operations_oss.go refactor session state store tables to use the new index pattern (#11525) 2021-11-08 16:20:50 -05:00
prepared_query.go refactor session state store tables to use the new index pattern (#11525) 2021-11-08 16:20:50 -05:00
prepared_query_index.go
prepared_query_index_test.go
prepared_query_test.go
query.go Partition session checks store (#11638) 2021-11-24 09:10:38 -05:00
query_oss.go refactor session state store tables to use the new index pattern (#11525) 2021-11-08 16:20:50 -05:00
schema.go
schema_oss_test.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
schema_test.go KV state store refactoring and partitioning (#11510) 2021-11-08 09:35:56 -05:00
session.go Partition/kv indexid sessions (#11639) 2021-11-24 11:34:36 -05:00
session_oss.go Partition/kv indexid sessions (#11639) 2021-11-24 11:34:36 -05:00
session_test.go Partition/kv indexid sessions (#11639) 2021-11-24 11:34:36 -05:00
state_store.go rename helper method to reflect the non-deprecated terminology (#11509) 2021-11-05 13:51:50 -05:00
state_store_oss_test.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
state_store_test.go KV state store refactoring and partitioning (#11510) 2021-11-08 09:35:56 -05:00
store_integration_test.go
system_metadata.go
system_metadata_test.go
tombstone_gc.go
tombstone_gc_test.go
txn.go KV state store refactoring and partitioning (#11510) 2021-11-08 09:35:56 -05:00
txn_test.go
usage.go
usage_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
usage_test.go