Skip to content

Commit

Permalink
Update vault/identity_store_entities.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Calvin Leung Huang <cleung2010@gmail.com>
  • Loading branch information
briankassouf and calvn committed Apr 23, 2020
1 parent d9ecd0f commit a8800e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vault/identity_store_entities.go
Expand Up @@ -516,7 +516,9 @@ func (i *IdentityStore) handleEntityBatchDelete() framework.OperationFunc {
i.lock.Lock()
defer i.lock.Unlock()

// Create a MemDB transaction to delete entities
// Create a MemDB transaction to delete entities from the inmem database
// without altering storage. Batch deletion on storage bucket items is
// performed directly through entityPacker.
txn := i.db.Txn(true)
defer txn.Abort()

Expand Down

0 comments on commit a8800e1

Please sign in to comment.