Commit Graph

6 Commits

Author SHA1 Message Date
Donald Adu-Poku
77033596a1 multi: integrate index subscriber.
This removes last set of references to IndexManager and integrates the
IndexSubscriber into the chain. All indexes have now been updated to
subscribe to the index subscriber for updates.
2021-10-12 18:52:50 -05:00
Donald Adu-Poku
c8d1a003e4 multi: update database error types.
This updates the database error types to leverage
go 1.13 errors.Is/As functionality as well as confirm
to the error infrastructure best practices.
2020-12-18 13:40:32 -06:00
David Hill
c56c9ea00e
database: Fix errorlint warnings. 2020-11-30 12:34:47 -06:00
Aaron Campbell
03678bb754 multi: Correct typos.
Correct typos found by reading code and creative grepping.
2019-08-16 17:37:58 -05:00
Josh Rickmar
b092705295 indexers: Provide interface for index removal.
Indexes may now optionally provide their own implementation for
dropping the index, with a fallback to simply removing the index
bucket and metadata if not implemented.

Using an interface and dynamically dispatching to the correct drop
implementation also allowed removing a special case for deletion of
the transaction index from the common drop code.
2018-03-27 18:50:03 -04:00
Dave Collins
3740feb673 database: Replace with new version.
This commit removes the old database package, moves the new package into
its place, and updates all imports accordingly.
2016-08-23 17:40:38 -04:00