Skip to content

Conversation

@RocMarshal
Copy link
Contributor

No description provided.

updated-dependencies:
- dependency-name: org.apache.commons:commons-lang3
  dependency-version: 3.18.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@RocMarshal RocMarshal force-pushed the try_fix_unstable_ingestion_test_cases branch 2 times, most recently from 7e9c099 to c5914e5 Compare December 11, 2025 15:03
@yuanoOo
Copy link

yuanoOo commented Dec 12, 2025

@RocMarshal Hi there,

To fix the GitHub CI failure caused by the OceanBase container startup issue, I suggest the following:

  1. Adjust the container startup parameters:

    .withMode(OceanBaseCEContainer.Mode.MINI)
    .withEnv("OB_DATAFILE_SIZE", "2G")
    .withEnv("OB_LOG_DISK_SIZE", "4G")
    .withStartupTimeout(Duration.ofMinutes(4));

    See the complete example here: https://github.com/oceanbase/flink-connector-oceanbase/blob/4b4f33376a6f60e3f5f3586a6d9904c1c356b8a5/flink-connector-oceanbase-base/src/test/java/com/oceanbase/connector/flink/OceanBaseMySQLTestBase.java#L62-L72

  2. Upgrade the image version to 4.3.5-lts

@RocMarshal RocMarshal force-pushed the try_fix_unstable_ingestion_test_cases branch 2 times, most recently from d6ea34a to e2aa8fb Compare December 12, 2025 06:41
@RocMarshal RocMarshal closed this Dec 12, 2025
@RocMarshal RocMarshal reopened this Dec 12, 2025
@RocMarshal
Copy link
Contributor Author

RocMarshal commented Dec 12, 2025

Hi, Thank you @yuanoOo @whhe for your help .

https://github.com/apache/flink-connector-jdbc/actions/runs/20158946377/job/57867060428?pr=184

It seems this issue has still occurred during this test.

Since I'm not very familiar with this database now, would you please provide some other suggestions? I'd be very grateful.

@yuanoOo
Copy link

yuanoOo commented Dec 12, 2025

Hi, Thank you @yuanoOo @whhe for your help .

https://github.com/apache/flink-connector-jdbc/actions/runs/20158946377/job/57867060428?pr=184

It seems this issue has still occurred during this test.

Since I'm not very familiar with this database now, would you please provide some other suggestions? I'd be very grateful.

Hi, try this version: oceanbase/oceanbase-ce:4.3.3.1-101000012024102216 . I didn't encounter this issue in the PR I just ran: oceanbase/spark-connector-oceanbase#86

@whhe
Copy link
Member

whhe commented Dec 12, 2025

A possible relevant information is that OceanBase startup time will be longer when available machine resources (such as memory and disk) are limited. Therefore, if the above suggestions still don't solve the problem, perhaps we can split the tests to different GHA runners, or using a lighter-weight image like seekdb.

@RocMarshal RocMarshal force-pushed the try_fix_unstable_ingestion_test_cases branch from e2aa8fb to 29d4a52 Compare December 12, 2025 08:11
@RocMarshal
Copy link
Contributor Author

Thanks @yuanoOo @whhe for your help.
And I'll to push forward the next work based on your suggestions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants