You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I just want to clarify some questions before opening the PR for this issue. For the Datanode I have updated the MetaClientOptions structure to include the heartbeat_interval_millis which was hard-coded in the instance before. However, I've noticed that in Frontend the HeartbeatTask is using report_interval. Is this field what I should be changing to make it configurable? I found they were using different time units (milliseconds in the data node and seconds in Frontend) so I wasn't sure if they were intended to be designed differently. Thank you :)
there are two heartbeat interval configs: heartbeat_interval_millis for datanode and report_interval for frontend. I think it's better to unify them to one name: heartbeat_interval_millis
use milliseconds of course
for datanode, heartbeat_interval_millis is better placed in DatanodeOptions
for frontend, heartbeat_interval_millis is better placed in FrontendOptions
What type of enhancement is this?
Configuration
What does the enhancement do?
Currently the heartbeat intervals are hardcoded to 5 seconds in both Frontend and Datanode. It's better to set them in config files.
Implementation challenges
No response
The text was updated successfully, but these errors were encountered: