Skip to content

nsqd: --mem-queue-size=0 still creates memory channel #1160

@bitpeng

Description

@bitpeng

generally, we intend to save all the message in the disk-queue when set -mem-queue-size=0 option, but make(chan *Message, 0) just create a unbuffered chan which can also send/receive message as well.
the follow figure is my experiment test...

image

is it a bug?

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