Hi,Chaitanya Kiran
The operation you mentioned of removing the database on the secondary replica is often used to resolve issues where the primary replica is unable to synchronize due to some reasons.
Regarding the secondary replica:
When a secondary database is removed, it is no longer joined to the availability group and all information about the removed secondary database is discarded by the availability group. The removed secondary database is placed in the RESTORING state.
The data synchronization status will become "Not Synchronized"
Refer to this.
Regarding the primary replica:
Removing a secondary replica does not directly affect the status of the primary replica's database, nor does it affect the data synchronization status.
Refer to
https://www.mssqltips.com/sqlservertip/4819/remove-database-from-sql-server-alwayson-availability-group-secondary-replica/
Best Regards,
Mikey Qiao
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".