You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "hudi-bot (via GitHub)" <gi...@apache.org> on 2025/11/30 08:26:07 UTC

[I] Multiple writers should create new and different instant time to avoid marker conflict of same instant [hudi]

hudi-bot opened a new issue, #16098:
URL: https://github.com/apache/hudi/issues/16098

   Even if the write results of commits have no conflict, multiple writers should create different instant time to avoid marker conflict of same instant. Meanwhile, multiple writers could create new instant time via the file system lock to generate different instant.
   
   ## JIRA info
   
   - Link: https://issues.apache.org/jira/browse/HUDI-6541
   - Type: Bug
   - Fix version(s):
     - 1.1.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Multiple writers should create new and different instant time to avoid marker conflict of same instant [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on issue #16098:
URL: https://github.com/apache/hudi/issues/16098#issuecomment-3630170419

   ### Linked PR(s)
   
   - https://github.com/apache/hudi/pull/9212


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Multiple writers should create new and different instant time to avoid marker conflict of same instant [hudi]

Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan commented on issue #16098:
URL: https://github.com/apache/hudi/issues/16098#issuecomment-4795533853

   Looks like this has been addressed on `master`. Instant-time creation is now performed inside the TransactionManager's distributed lock, so two concurrent writers serialize through the lock provider and produce distinct instants — preventing the marker conflict described here.
   
   Key changes:
   - [HUDI-9389] (PR [#13340](https://github.com/apache/hudi/pull/13340), commit `4284012`) — Refactor table service schedule to lock instant creation and plan generation.
   - TransactionManager refactor (commit `93972a5`) — adds `generateInstantTime()` / `executeStateChangeWithInstant()` and explicitly throws `HoodieLockException` if an instant is requested without the lock held.
   - `BaseHoodieWriteClient.startCommit(...)` now wraps `createNewInstantTime(false)` inside `txnManager.beginStateChange(...) ... endStateChange(...)` (see `BaseHoodieWriteClient.java`, lines ~1086–1110).
   
   Closing as fixed — please reopen if you can still reproduce on a recent build (1.1.0 / current `master`).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Multiple writers should create new and different instant time to avoid marker conflict of same instant [hudi]

Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan closed issue #16098: Multiple writers should create new and different instant time to avoid marker conflict of same instant
URL: https://github.com/apache/hudi/issues/16098


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org