Hi there.
Imagine this scenario in High Availability mode :
The principal sends a transaction log to the mirror, then the mirror saves the log on disk and then notify the principal. What happen if the acknowledge is lost, because a network failure(back on track in 1 or 2 seconds) and the principal dont receive it ?
In this case an automatic failover will not occurr, and i dont really know what happen next...
Will the mirror resend the ack ?
The heartbeat mechanism plays an important role in solving this scenario ?
The principal must receive the ack to commit the transaction, and i′m not seeing how the problem is solved.
I have one other question. In "Database Mirroring in SQL Server 2005" document, is said that "...unlike a distributed transaction, failures to commit on the mirror will not cause a transaction rollback on the principal".
But in this case the mirror will be inconsistent with the principal. How is this problem solved ?
Thanks in advance.
RDSC wrote: Imagine this scenario in High Availability mode :
The principal sends a transaction log to the mirror, then the mirror saves the log on disk and then notify the principal. What happen if the acknowledge is lost, because a network failure(back on track in 1 or 2 seconds) and the principal dont receive it ?
...
But in this case the mirror will be inconsistent with the principal. How is this problem solved ?
Hi there,
In high availability mode the principle will continue to serve SQL, and your mirror will be out of sync (the witness server is the key here, and an error state 6 (mirror lost) should be evident).
The inconsistency will be resolved when the mirror is successfully synchronized, depending on the cause of the problem, when the mirror is able to communicate with the witness again it should sync automatically, or you might be able to issue a ALTER DATABASE databasename SET PARTNER RESUME command to resync the mirror.
|||Hi there, yesterday i saw some documentation about DBMirroring and suceeded in finding the answers about this issues.
That′s true what you say, thanks for the help.
No comments:
Post a Comment