Skip to content

Commit

Permalink
Merge pull request #4889 from weaviate/remove-debug-log-max-segment
Browse files Browse the repository at this point in the history
remove debug logs
  • Loading branch information
antas-marcin committed May 9, 2024
2 parents a1cd73a + 3a60440 commit d2eef0e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions adapters/repos/db/lsmkv/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (
"context"
"fmt"
"os"
"path"
"path/filepath"
"sort"
"sync"
Expand Down Expand Up @@ -159,11 +158,6 @@ func NewBucket(ctx context.Context, dir, rootDir string, logger logrus.FieldLogg
}
}

// TODO: remove debug
if b.maxSegmentSize > 0 {
fmt.Printf("bucket %s has max segment size set to %d\n", path.Join(rootDir, dir), b.maxSegmentSize)
}

if b.memtableResizer != nil {
b.memtableThreshold = uint64(b.memtableResizer.Initial())
}
Expand Down

0 comments on commit d2eef0e

Please sign in to comment.