Skip to content

[BUG]: Got error while calculating total size of directory: #2116

Open

Description

@AbhishekRamamurthy

What version of Badger are you using?

github.com/dgraph-io/badger/v4 v4.3.0

What version of Go are you using?

go 1.23.1

Have you tried reproducing the issue with the latest release?

None

What is the hardware spec (RAM, CPU, OS)?

x86_64

What steps will reproduce the bug?

k8s with rook-ceph-block volume mount.

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name:
labels:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
storageClassName: rook-ceph-block

and badger is using the mount volume to save the record.

2024-09-27T00:37:48.502Z	DEBUG	badger/zap_logger.go:27	Got error while calculating total size of directory: /cache_db

2024-09-27T00:38:48.502Z	DEBUG	badger/zap_logger.go:27	Got error while calculating total size of directory: /cache_db

Expected behavior and actual result.

shouldn't see the error

Additional information

go application running in k8s cluster with rook-ceph-block volume mount PVC, this is used as badger scratch space.

Activity

  1. github-actions commented on Jun 22, 2026

    @github-actions

    This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions