on 2014 Feb 18 10:27 AM
Does SET MIRROR OPTION synchronization_mode actually affect 12.0.1.3298 HA operations after the servers have started?
Does SET MIRROR OPTION synchronization_mode have any effect on an old-school HA setup that uses -xp instead of CREATE MIRROR SERVER?
Is DB_PROPERTY ( 'MirrorMode' ) supposed to show the effect of SET MIRROR OPTION synchronization_mode or not?
The following version 12.0.1.3298 behavior has been noticed in BOTH old-school and declarative HA setups; note that the option_value and MirrorMode values are different:
SET MIRROR OPTION synchronization_mode = 'asynchronous'; SELECT * FROM SYSMIRROROPTION; SELECT DB_PROPERTY ( 'MirrorMode' ); option_name,option_value 'synchronization_mode',asynchronous DB_PROPERTY('MirrorMode') 'synchronous'
Request clarification before answering.
The current behaviour (in 12.0.1.3994 and I believe in the current 16.0.0.1761) is for:
SET MIRROR OPTION synchronization_mode = 'asynchronous'
is executed, that is effective immediately. However, if the -xp mode=value is specified on the command line, the next time the database starts or restarts, if the command line value (-xp mode=value) is specified, it will override the mirror option.Note that you should either be using the SQL Anywhere 11 -xp options OR using the SQL Anywhere 12 SET MIRROR OPTIONS and CREATE/ALTER MIRROR SERVER ... syntaxes. Mixing the old and new syntaxes is not recommended and at your own risk. (Note that the SQL Anywhere 11 -xp options are deprecated in 12 and 16 and no longer documented. Support for these old -xp options will be removed in a future version since they can create confusion.)
From a quick look at CR#666011 , I believe that before that fix, SET MIRROR OPTION synchronization_mode = 'asynchronous';
incorrectly set the mode to synchronous.
Given the many mirroring issues that have been fixed since 12.0.1.3298, I recommend upgrading to a recent build.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
60 | |
10 | |
8 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.