fluid icon indicating copy to clipboard operation
fluid copied to clipboard

Add comments to CheckMasterReady in pkg/ddc/goosefs/master.go.

Open yaokunzhang opened this issue 6 months ago • 0 comments

Which function do you want to add comments to? CheckMasterReady in pkg/ddc/goosefs/master.go.

What comments do you want to add?

// CheckMasterReady checks if the master is ready.
// This function verifies if the GooseFS master StatefulSet has the expected number of ready replicas
// and updates the runtime status accordingly when the master is determined to be ready.
//
// Parameters:
//   - None explicit, uses the GooseFSEngine receiver
//
// Returns:
//   - ready (bool): True if the master has the expected number of ready replicas, otherwise false.
//   - err (error): Returns an error if any operation fails, otherwise returns nil.

yaokunzhang avatar Jun 13 '25 11:06 yaokunzhang