Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Bug] auvacuum worker worked in loop and it is caused to High CPU usage

オープン
#1,850 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
hadoop
領域
databases

調査の方向性

まず、いくつかの PXF foreign tables があるクリーンなデータベースでループを再現し、次に auvacuum worker logs とレポートに示されている vacuum の失敗を調査します。vacuum がこれらの foreign tables を処理しなくなり、worker がループを停止し、高い CPU 使用率が解消されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

type: Bug
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
主要言語
C
スター
1.4k
フォーク
248
平均マージ
4日 10時間
マージ済み PR(30日)
40

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/cloudberry のほかの issue

apache/cloudberry の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。