How to handle message "provider hast/data has error 6 set"

From: Bill Yuan <bycn82_at_gmail.com>
Date: Fri, 29 Jul 2022 03:05:59 UTC
Hello,

I am trying to build a HA across 2 machines, but I am facing some
challenges and failed to get more explanations/answers from the internet.

What I did is a simple failover which means switching the secondary to
primary, and primary to secondary.

I noticed the status is "complete" on both machines, But, the device
/dev/hast/data is not founded on the primary machine. (data is the resource
name).

After a while, I restarted the hastd service, and I saw these error
messages. and a few seconds later, the /dev/hast/data appear.

g_access(961): provider hast/data has error 6 set
g_access(961): provider hast/data has error 6 set
g_access(961): provider hast/data has error 6 set

So, I got below questions need your help.
Q1. When the status is "complete", does it mean the information in the
block device is exactly the same on both machines?
Q2. If everything is correct, the /dev/hast/data should appear after the
status changed to primary, and does the partition size impact the time (I
meant, the duration between the status changed and the /dev/hast/data
appearing).
Q3. Is it correct that the /dev/hast/data may not appear due to some issue?
and is there any way to check whether any issue there?
Q4. As mentioned in the beginning, I restarted the hastd service and saw
that error message. My question is, what is the proper way to recover from
that situation?

Thanks!

Regards,
Bill Yuan