Skip to content

CSI driver writes (a lot of) files to the default collection and creates huge system logs #202

@llc1123

Description

@llc1123

I am using SeaweedFS as the storage backend of a distributed vector database (milvus) on K8S. An S3 bucket and 3 PVC provisioned by SeaweedFS are used.

While I do a simple benchmark, I see file count grows both in the default collection (""). If I do volume.fsck -reallyDeleteFromVolume, the database corrupts. Also, I see huge system logs generated under /topics/.system/log (near 300MB per minute).

Then I tried using longhorn for StorageClass and only use SeaweedFS for S3, the default collection stops growing, and the system log sizes are much smaller (100+kb). But I still see 1 file added to the default collection, which is invisible in the filer.)

SeaweedFS Version(masters, filers, volume servers): SeaweedFS 8000GB 3.97 76452ab593995ab52b75e681de5b221de1e3f006
CSI Driver Version: 0.2.3 from master branch

Here is my seaweedfs-csi-driver installation:

helm repo add seaweedfs-csi-driver https://seaweedfs.github.io/seaweedfs-csi-driver/helm

helm -n seaweedfs-csi-driver upgrade --install --create-namespace \
  --set seaweedfsFiler=192.168.1.2:8888 \
  seaweedfs-csi-driver seaweedfs-csi-driver/seaweedfs-csi-driver

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions