Vishal Nayak
|
57c7ecfcd4
|
Identity: Remove unused MemDB indexes and unused functions (#4817)
* refactor delete utility
* refactor delete alias utility
* remove MemDBUpsertAlias
* Remove MemDBAliasByCanonicalID
* remove MemDBAliasesByMetadata
* remove MemDBDeleteAliasByID
* Remove MemDBUpsertEntity and MemDBEntityByNameInTxn
* Remove is.MemDBEntitiesByBucketEntryKeyHash
* Remove MemDBEntitiesByBucketEntryKeyHash and MemDBEntityByMergedEntityID
* Remove MemDBEntities
* Remove validateMemberGroupID
* Remove validateEntityID, validateGroupID, deleteAliasFromEntity
* Remove updateAliasInEntity
* Remove satisfiesMetadataFilters and UpsertGroup
* Remove MemDBUpsertGroup
* Remove deleteGroupByID
* Remove deleleGroupByName
* Remove MemDBDeleteGroupByNameInTxn
* Remove MemDBGroupsByPolicy and MemDBGroupsByPolicyInTxn
* Remove MemDBGroupIterator
* Remove MemDBGroupsByBucketEntryKeyHash
* Remove deleteGroupAlias
* Remove metadata index from entities table
* Remove unneeded indexes from entity alias and group alias schema
* Remove unneeded index from groups table schema
* Fix test
* s/entity/lockEntity
* Don't expose the memdb instance outside identity store
* More txn.Abort() corrections
* switch back to deferring abort calls
|
2018-06-24 07:45:53 -04:00 |
|