Troubleshooting
Problem
This technote identifies an issue that can occur in IBM Rational ClearCase MultiSite where a syncreplica -import fails with an error, multitool: Error: Incompatible versions of ClearCase software and/or databases, when importing packets with protect oplogs into a nonpreserving replica.
Symptom
When importing packets containing "protect" oplogs from a preserving replica into a non-preserving replica, the following error occurs:
multitool: Error: Incompatible versions of ClearCase software and/or databases: "\TESTVOB_CCVAL_REPL".
Steps to reproduce:
- Create a new VOB on the local system
C:\>cleartool mkvob -tag \TESTVOB_CCVAL -nc %COMPUTERNAME%\views\TESTVOB_CCVAL.vbs
- Create a new replica of that VOB. Can also be on the local system for this test.
C:\>multitool mkreplica -export -workdir C:\temp\WDIR -nc -out %TEMP%\mkreplica_TESTVOB_CCVAL %COMPUTERNAME%:replica@\TESTVOB_CCVAL
- Import that replica as a non-preserving replica.
C:\>multitool mkreplica -import -workdir C:\temp\WDIR -tag \TESTVOB_CCVAL_REPL -vob \\%COMPUTERNAME%\Views\TESTVOB_CCVAL_REPL.vbs -npreserve -nc -vreplica replica C:\TEMP\mkreplica_TESTVOB_CCVAL
- Create ANYTHING in the first copy of the VOB.
For example:
C:\>cleartool mklbtype -nc TESTLABEL@\TESTVOB_CCVAL
- Reprotect the item created above.
C:\>cleartool protect -chown ww005\csaarch lbtype:TESTLABEL@\TESTVOB_CCVAL
- Run a syncreplica -export to create a new update packet with the changes.
C:\>multitool sync -export -nc -out %TEMP%\Sync-TESTVOB_CCVAL replica:replica@\TESTVOB_CCVAL
- Run a syncreplica -import to import the above update packet.
C:\>multitool sync -import -nc -invob \TESTVOB_CCVAL_REPL %TEMP%\Sync-TESTVOB_CCVAL
Observe the failure reported during the import:
multitool: Error: Incompatible versions of ClearCase software and/or databases: "\TESTVOB_CCVAL_REPL".
multitool: Error: Unable to replay oplog entry 3: incompatible versions of ClearCase software and/or databases.
3:
op= protect
replica_oid= d8595cb0.307d49b8.b619.db:dc:28:18:d0:3c (original)
oplog_id= 3
op_time= 2009-07-05T10:56:48Z create_time= 2009-07-05T10:56:48Z
event comment= "CHOWN ww005\csaarch"
data size= 152 data= 0xf4cf18
------------
obj_oid= b3463184.d9ee43b0.8869.fc:95:e2:3e:05:4f (label type: TESTLABEL)
obj_fstat= ino: 0; type: 0; mode: 00
usid: NT:S-1-5-21-2112175705-17779001-311191574-20614
gsid: NT:S-1-5-21-2112175705-17779001-311191574-21003
nlink: 0; size: 0
atime: Thu Jan 01 01:00:00 1970
mtime: Thu Jan 01 01:00:00 1970
ctime: Sun Jul 05 12:56:48 2009
Cause
This issue has been identified as a product defect under APAR PK90975.
Environment
This issue has reported to occur for VOBs newly created on version 7.1.0.2.
It has also been seen with VOBs created on version 7.0.1.4 where the error did not start happening until after a number of successful syncs using 7.1.0.2.
Resolving The Problem
This issue has been resolved in Rational ClearCase version 7.1.1.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21393336