Always On-manual failover - warning on possible data loss

  • Hi,

    I'm testing basic alwayson with SQL Server 2022 Standard on two servers (primary and secondary replica with an old Adventureworks database).

    The idea is to allow sql clients to continue to operate while one server is down for updating and rebooting (monthy windows and sql server updates).

    I'm testing the manual failover: Although the dashboard is showing "everything green and synchronized", the failover wizard shows a data loss warning:

    "This replica has one or more databases that are not synchronized. Failing over this replica could result in a data loss for any transaction that did not reach this secondary replicy prior to failing over".

    Why? What's wrong here or what do I miss?

    Also the script

    SELECT database_name, is_failover_ready FROM sys.dm_hadr_database_replica_cluster_states WHERE replica_id IN (SELECT replica_id FROM sys.dm_hadr_availability_replica_states)

    checking the failover state shows this:

     

     

     

     

  • Thanks for posting your issue and hopefully someone will answer soon.

    This is an automated bump to increase visibility of your question.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply