SYMPTOMS
A. Log owner panic
- The node that is the RVG log owner panics with a stack containing:
vol_obj_kmsg_done
vol_rv_mdship_srv_start
voliod_iohandle
voliod_loop
- The panic is a fault on an invalid address while taking a lock.
- A log client node rebooted or rejoined the cluster at some point before the panic, possibly days earlier.
B. Cluster-wide write hang
- Writes to the replicated volumes stop on every node at the same moment.
Applications and the cluster file system hang, with many tasks in uninterruptible (D) state. There is no panic.
- It usually begins right after an rlink reconnect on the log owner, e.g.
V-5-0-1019 Disconnecting rlink ... to reconnect from new position
V-5-0-266 Rlink ... disconnected from remote
V-5-0-265 Rlink ... connected to remote
- Repeated V-5-0-843 / V-5-0-661 messages (send failures on the replication link) make reconnects, and therefore this problem, more likely.
CAUSE
A. After a log client leaves and rejoins the cluster (reboot, rolling upgrade), the log owner can stay in a clean-up mode for that client indefinitely. In that mode, if the client completes a write very quickly, the log owner can release its record of the request while the thread that granted it is still using it, and the node panics.
B. While the RVG is briefly locked, the log owner answers pending client requests with "try again". If the client's messaging layer had already resent one of them, the resent copy can arrive after the "try again" and is granted as a new request. The client has already retried that write separately, so the granted log position is never completed. The replicator log cannot advance past it. Once its allocation window is full, writes from all nodes are held.
CONDITIONS THAT INCREASE EXPOSURE
- Log client nodes rebooting or rejoining (including rolling upgrades). (A)
- Frequent rlink disconnects/reconnects from an unstable or high-latency replication link to the DR site. (B)
- Other events that briefly lock the RVG under heavy write load, such as rlink error handling. (B)
- Heavy write load from log client nodes. (A, B)
If the log owner panics (A)
- The node reboots, the log owner role moves to another node, and replication continues. Verify with: vradmin -g <dg> repstatus <rvg>
- No workaround is known.
If writes hang on all nodes (B)
1. Identify the log owner. On any node run
vxprint -g <dg> -Vl <rvg>
and read the "logowner:" line, e.g.
logowner: <nodename> (default)
2. Reboot ONLY the log owner node (a crash dump of it is optional).
Another node becomes log owner and writes resume. Rebooting all nodes is not needed.
3. While the hang is in progress, do not move the log owner role or switch the VVR service group; these operations can themselves hang.
In a CVR cluster one node is the RVG "log owner". Every write issued on another node (a "log client") first asks the log owner for a position in the Storage Replicator Log (SRL). The log owner grants it, the client writes the
data, and then the client reports the write as done.
Two defects in how the 9.2.x log owner tracks these requests can cause either of the following:
A. The log owner node panics.
B. Writes to the replicated volumes stop on all nodes (cluster-wide hang).
Both are triggered by cluster or replication events that interrupt this exchange:
A. a log client leaving and rejoining the cluster;
B. the RVG being briefly locked, typically during an rlink reconnect.
The Product Engineering team currently plans to address this issue through a patch or hotfix in the current software version. Please note that our company reserves the right to withdraw any fix from the targeted release if it fails quality assurance tests. Development plans are subject to change, and any actions you take based on this information, or your reliance on it, are at your own risk.
Upgrading to 9.2.3 or 9.2.4 does not avoid either issue.
Feedback submitted!