From de478870fb00d3649c90a5da2f9b7981b1adddc0 Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Tue, 14 Aug 2018 13:58:54 -0500 Subject: [PATCH] found deadlock in new code --- fragment.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/fragment.go b/fragment.go index 63cde2d0e..e7014aeb0 100644 --- a/fragment.go +++ b/fragment.go @@ -1325,9 +1325,6 @@ func (f *fragment) mergeBlock(id int, data []pairSet) (sets, clears []pairSet, e // bulkImport bulk imports a set of bits and then snapshots the storage. // This does not affect the fragment's cache. func (f *fragment) bulkImport(rowIDs, columnIDs []uint64) error { - f.mu.Lock() - defer f.mu.Unlock() - // Verify that there are an equal number of row ids and column ids. if len(rowIDs) != len(columnIDs) { return fmt.Errorf("mismatch of row/column len: %d != %d", len(rowIDs), len(columnIDs))