Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

CassandraMessageDAO always throws "Mailbox is over quota" when quota is set to 0 #52

@johnwiesel

Description

@johnwiesel

The config states: "To disable quota parameter set it to 0."

But setting it to 0 does not work as expected. Put requests always return "Mailbox is over quota" message.

Suspected reason in CassandraMessageDAO.java:144

        if ((requiredBytes > Configurator.getDefaultQuotaBytes()) ||
(requiredCount > Configurator.getDefaultQuotaCount()))
{
logger.info("Mailbox is over quota: {} size={}/{}, count={}/{}",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions