Skip to content

Conversation

@Hisoka-X
Copy link
Member

@Hisoka-X Hisoka-X commented Mar 31, 2025

Purpose of this pull request

Fix maxcompute write with multi parallelism. Before this patch, it will throw

Caused by: RequestId=202503311431065ca7301a00fe5681, ErrorCode=MetaTransactionAborted, ErrorMessage=Operation aborted due to cannot satisfy ODPS ACID constraints. This is normally caused by concurrent operations.

The change let maxcompute automatically manage blocks internally to prevent multiple threads from using the same blockid.

Does this PR introduce any user-facing change?

no

How was this patch tested?

tested in local

Check list

@wuchunfu wuchunfu merged commit 9426b7b into apache:dev Apr 8, 2025
5 checks passed
@dybyte
Copy link
Contributor

dybyte commented Jun 6, 2025

Hi @Hisoka-X
I noticed the change from session.commit(new Long[] {BLOCK_0}) to session.commit(),
and I saw that the commit message mentions “Fix maxcompute write with multi parallelism”.
I’m curious — could you please explain how this change helps with parallelism?
Thanks again!

@Hisoka-X
Copy link
Member Author

Hisoka-X commented Jun 6, 2025

Hi @Hisoka-X I noticed the change from session.commit(new Long[] {BLOCK_0}) to session.commit(), and I saw that the commit message mentions “Fix maxcompute write with multi parallelism”. I’m curious — could you please explain how this change helps with parallelism? Thanks again!

Hi @dybyte , the change let maxcompute automatically manage blocks internally to prevent multiple threads from using the same blockid.

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.

4 participants