IBM Support

PM16892: mkhlink does not honor mastership

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Creating an IBM Rational ClearCase administrative VOB (AdminVOB)
    hyperlink reports errors indicating that it can not perform the
     operation because the replica does not master certain objects,
    however, it proceeds in creating hyperlinks to non-mastered obje
    cts.
    
    The following example shows the steps to reproduce the issue.
    
    Starting environment:
    We have a replica 'Boston' of VOB \rn-tester
    master of replica:Boston is original
    master of brtype:bugfix  is original
    master of lbtype:REL123 is original
    The admin VOB \myadmin is not replicated.
    
    
    In Boston you want to create an AdminVOB hyperlink to \myadmin.
    This should fail as Boston does not master any of the to be link
    ed ClearCase objects.
    
    M:\admin_view5\rn-tester?cleartool mkhlink -acquire AdminVOB vob
    :\rn-tester vob:\myadmin
    cleartool: Error: Unable to perform operation 'change event' in
    replica 'Boston' of VOB '\rn-tester'.
    cleartool: Error: Master replica of branch type 'bugfix' is 'ori
    ginal'.
    cleartool: Error: Unable to perform operation 'change event' in
    replica 'Boston' of VOB '\rn-tester'.
    cleartool: Error: Master replica of label type 'REL123' is 'orig
    inal'.
    Created hyperlink 'AdminVOB@114343@\rn-tester'.
    
    As expected, you will see a lot of error messages because the lo
    cal replica does not master any of the objects. However, the Adm
    inVOB hyperlink is created anyway and the hyperlinks of type Glo
    balDefinition have been created as well.
    
    M:\admin_view5\rn-tester?cleartool describe -l brtype:bugfix
    branch type 'bugfix'
      created 2010-06-10T12:55:17+02:00 by bugfix admin (admin.ratio
    nal@ibm-rniewand04)
      owner: RCSNL\admin
      group: RCSNL\rational
      scope: global
      constraint: one version per branch
      Hyperlinks:
        GlobalDefinition@114344@\rn-tester ?- brtype:bugfix@\rn-test
    er
    
    M:\admin_view5\rn-tester?cleartool describe -l -local brtype:bug
    fix
    branch type 'bugfix'
      created 2009-02-18T16:50:26+01:00 by NL60989.rational@L3GBN42-
    1951BY8
      master replica: original@\rn-tester
      request for mastership: allowed for branch type
      request for mastership: allowed for all instances
      owner: RCSNL\admin
      group: RCSNL\rational
      scope: this VOB (local copy of global type)
      constraint: one version per branch
      Hyperlinks:
        GlobalDefinition@114344@\rn-tester -? brtype:bugfix@\myadmin
    
    The expected behavior would be such that the missing mastership
    on the ClearCase objects would block all mkhlink operations.
    
    
    WORKAROUND:
    
    Be sure that the mkhlink operation is performed on one site only
    .
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Creating an IBM Rational ClearCase administrative VOB
    (AdminVOB) hyperlink reports errors indicating that it can
    not perform the operation because the replica does not
    master certain objects, however, it proceeds in creating
    hyperlinks to non-mastered objects.
    

Problem conclusion

  • A fix is available in ClearCase versions 7.1.1.8, 7.1.2.5
    and 8.0.0.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM16892

  • Reported component name

    CLEARCASE WIN

  • Reported component ID

    5724G2900

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-06-21

  • Closed date

    2011-12-19

  • Last modified date

    2011-12-19

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    CLEARCASE WIN

  • Fixed component ID

    5724G2900

Applicable component levels

  • R710 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
19 December 2011