Skip to content

[hotfix] Fix unstable testLakeTieringHeartBeat test #1357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

luoyuxia
Copy link
Contributor

@luoyuxia luoyuxia commented Jul 17, 2025

Purpose

Fix unstable test testLakeTieringHeartBeat in https://github.com/apache/fluss/actions/runs/16340162479/job/46160573368

Linked issue: close #xxx

Brief change log

From the log, I found coordinator server found table0, table1, table3 is created. Seems it's not ordered by the order of creating tables.

16:39:03,216 [fluss-netty-server-worker-thread-2] INFO  com.alibaba.fluss.server.zk.ZooKeeperClient                  [] - Registered table test_lake_table_1 for database fluss

16:39:03,226 [fluss-netty-server-worker-thread-2] INFO  com.alibaba.fluss.server.zk.ZooKeeperClient                  [] - Registered table test_lake_table_2 for database fluss

16:39:03,226 [fluss-netty-server-worker-thread-2] INFO  com.alibaba.fluss.server.zk.ZooKeeperClient                  [] - Registered table test_lake_table_2 for database fluss

16:39:03,233 [fluss-netty-server-worker-thread-2] INFO  com.alibaba.fluss.server.zk.ZooKeeperClient                  [] - Registered table test_lake_table_3 for database fluss


16:39:03,205 [coordinator-event-thread] INFO  com.alibaba.fluss.server.coordinator.TableManager            [] - New table buckets: [TableBucket{tableId=0, bucket=0}] for table fluss.test_lake_table_0.
16:39:03,217 [coordinator-event-thread] INFO  com.alibaba.fluss.server.coordinator.TableManager            [] - New table buckets: [TableBucket{tableId=1, bucket=0}] for table fluss.test_lake_table_1.
16:39:03,234 [coordinator-event-thread] INFO  com.alibaba.fluss.server.coordinator.TableManager            [] - New table buckets: [TableBucket{tableId=3, bucket=0}] for table fluss.test_lake_table_3.
.....

So, in the test, not always assume it's created by order and collect all table.

Tests

API and Format

Documentation

@luoyuxia luoyuxia marked this pull request as draft July 18, 2025 03:02
@luoyuxia luoyuxia force-pushed the fix-unstable-tiering-test branch from 1099013 to b71b5c0 Compare July 18, 2025 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy