Version discordance detected for element when attempting a checkout using CCRC

Version discordance detected may be reported when attempting to checkout an IBM® Rational® ClearCase® element from a ClearCase Remote Client (CCRC).

An attempt to checkout an element from CCRC results in the following error:

Version discordance detected for "/var/adm/rational/clearcase/ccweb/view/vob/..."

Screenshot:



Cause

The server and client are in disagreement about the state of the element version in question. This is known as discordance.

This state can occur after you undo checkout or undo hijack on a file or directory element.

Discordance will also occur in the following scenario:
  1. CCRC client loads a file (foo.txt)

  2. Native ClearCase client renames file (foo.txt to FOO.TXT changing the case ONLY) in dynamic view

  3. CCRC client performs "update resources" operation

  4. CCRC will see FOO.TXT in a discordance state


Resolving the problem

The "restore resource" operation will resolve this particular issue. Right click on the parent directory of the discordant object and select Tools>Restore Resource.


However, in step 2 of the above scenario, if the rename involved more than changing case (for example renaming foo.txt to hello.txt), then step 3 will update resources without any warning/error.

Refer to technote 1305088 About Discordance in ClearCase Remote Client for further information.


This topic is also discussed in more details in the CCRC Help files available at the following location: Help > Help Contents > Concepts > About ClearCase views > Disagreements between client and server.

Click the link on the right side for Resolving disagreements (discordance) between client and server. This section explains how to perform a Restore Resource for the problem element. See screenshot below:

No comments:

Post a Comment