forked from textileio/go-threads
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Collection and index updates and fixes (textileio#362)
* db: cleanup indexing, add update collection method Signed-off-by: Sander Pick <sanderpick@gmail.com> * db: adds delete collection, more index cleanup Signed-off-by: Sander Pick <sanderpick@gmail.com> * db: add update collection api method and more tests Signed-off-by: Sander Pick <sanderpick@gmail.com> * db: add get indexes method to api Signed-off-by: Sander Pick <sanderpick@gmail.com> * db: ensure unique indexes can be unique Signed-off-by: Sander Pick <sanderpick@gmail.com> * db: use token opt in collection methods Signed-off-by: Sander Pick <sanderpick@gmail.com> * db: use two locks Signed-off-by: Sander Pick <sanderpick@gmail.com> * db: check index path on hydration Signed-off-by: Sander Pick <sanderpick@gmail.com> * review: address feedback Signed-off-by: Sander Pick <sanderpick@gmail.com>
- Loading branch information
1 parent
84f67c7
commit a556125
Showing
29 changed files
with
1,694 additions
and
705 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.