Skip to content

Conversation

@yihua
Copy link
Contributor

@yihua yihua commented Jan 28, 2023

Change Logs

This PR improves the defaults of early conflict detection configs:

  • async.conflict.detector.initial_delay_ms: 30,000 -> 0
  • maxAllowableHeartbeatIntervalInMs for early conflict detection at the timeline server: 60,000 -> 120,000 to be aligned with existing heartbeat timeout

This PR also fixes a bug in EmbeddedTimelineService to set the correct maxAllowableHeartbeatIntervalInMs for early conflict detection.

Impact

Gives better defaults for early conflict detection out of the box.

Risk level

low

Documentation Update

The defaults of the configs will be automatically updated on the Hudi website once the release docs are updated.

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@yihua yihua added priority:blocker Production down; release blocker writer-core area:concurrency Concurrency control and multi-writer labels Jan 28, 2023
@nsivabalan nsivabalan force-pushed the HUDI-5631-ecd-defaults branch from acff503 to ab0d70b Compare January 28, 2023 06:20
@nsivabalan
Copy link
Contributor

rebased w/ latest master

Copy link
Contributor

@zhangyue19921010 zhangyue19921010 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will land this pr after CI passed.

@apache apache deleted a comment from hudi-bot Jan 28, 2023
@xushiyan
Copy link
Member

@xushiyan xushiyan merged commit 2c56aa4 into apache:master Jan 28, 2023
fengjian428 pushed a commit to fengjian428/hudi that referenced this pull request Jan 31, 2023
fengjian428 pushed a commit to fengjian428/hudi that referenced this pull request Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:concurrency Concurrency control and multi-writer priority:blocker Production down; release blocker

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants