Skip to content

[Bug] auvacuum worker using not correct logic and trying to vacuum PXF foreghn tables located on Hadoop #1850

Description

@vsbace

Apache Cloudberry version

We are trying to test Apache Cloudberry 2.1.0 on Astra Linux 1.8.1 (Debian 12 based)

What happened

Hello,
We found the next problem with auvacuum worker using not correct logic and trying to vacuum PXF foreghn tables located on Hadoop.
It is caused to high CPU usage by autovacuum workers on database with high coung of PXF tables

Image

In Cloudberry master log we can see many messages by the next screenshoot we can see

Image

When we can run vacuum on problem database, vacuum crashed by the next error

Image

And we can identify this object as PXF foreighn table

Image

What you think should happen instead

And i think correct about vacuum logic can not work with foreighn tables and in Greenplum logic means not use PXF tables too in this mechanizm.

How to reproduce

I think need to create couple of PXF tables on clean DB.

Operating System

Astra Linux 1.8.1 (Debian 12 based)

Anything else

Every time.

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: BugSomething isn't working

    Type

    No type

    Fields

    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