Skip to content

[Bug] Invalid JSONB document: too small size(0) or null pointer #58523

@iulian-taraboanta

Description

@iulian-taraboanta

Search before asking

  • I had searched in the issues and found no similar issues.

Version

V3.1.2

What's Wrong?

Hi, after updating to version 3.1.2 from 2.1.11 I noticed that compaction fails constantly leading to versions accumulating.

By inspecting the tablet:

{
    "cumulative policy type": "size_based",
    "cumulative point": 490516,
    "last cumulative failure time": "2025-11-28 09:09:52.925",
    "last base failure time": "1970-01-01 01:00:00.000",
    "last full failure time": "1970-01-01 01:00:00.000",
    "last cumulative success time": "1970-01-01 01:00:00.000",
    "last base success time": "1970-01-01 01:00:00.000",
    "last full success time": "1970-01-01 01:00:00.000",
    "last cumulative schedule time": "2025-11-28 09:10:04.419",
    "last base schedule time": "1970-01-01 01:00:00.000",
    "last full schedule time": "1970-01-01 01:00:00.000",
    "last cumulative status": "[INVALID_ARGUMENT]Invalid JSONB document: too small size(0) or null pointer",
    "last base status": "",
    "last full status": "",
}

In be.INFO multiple entries with:
W20251128 15:19:49.485358 3219940 tablet.cpp:1858] failed to do cumulative compaction, tablet=27034405 : [INVALID_ARGUMENT]Invalid JSONB document: too small size(0) or null pointer

What You Expected?

Same behavior as in V2.1.11

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

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