IBM Support

PK75289: IBM Rational ClearCase ?cleartool rmview? can cause a race condi tion with terminating view_server process on removal

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • IBM Rational ClearCase ?cleartool rmview? can cause a race condi
    tion within the terminating view_server process on removal of th
    e view.
    
    
    UNIX All
    ClearCase 7.0.x
    
    
    To Reproduce:
    
    1)  Create a ClearCase dynamic view:
    
    /usr/atria/bin/cleartool mkview -tag race-condition /ccstg/views
    /race-condition.vws
    Created view.
    Host-local path: ccserver:/ccstg/views/race-condition.vws
    Global path:     /net/ccserver/ccstg/views/race-condition.vws
    It has the following rights:
    User : ccuser   : rwx
    Group: games    : r-x
    Other:          : r-x
    
    
    2)  Immediately remove the view:
    
    /usr/atria/bin/cleartool rmview /ccstg/views/race-condition.vws
    
    
    3)  Tail the view_log, and the error will be seen:
    
    view_server(*****): Ok: View server addr = 0, port= 48322
    view_server(*****): Ok: View server addr = 0, port= 37438
    view_server(*****): Ok: Db initialized
    view_server(*****): Ok: Using 512000 bytes of cache
    view_server(*****): Ok: Using view /ccstg/views/race-condition.v
    ws, on host: ccserver
    view_server(*****): Ok: Db initialized
    view_server(*****): Ok:
    view_server(*****): Ok: *** db_VISTA database error -905 - error
     opening file
    view_server(*****): Ok: could not locate view database component
     (op 'D_SYNCFILES')
    view_server(*****): Ok: exiting, status = 1008
    view_server(*****): Ok: Db closed
    
    
    Workaround:  Do not remove the view immediately after creation.
    

Local fix

Problem summary

  • BM Rational ClearCase ?cleartool rmview? can cause a race
    condition within the terminating view_server process on
    removal of the view.
    

Problem conclusion

  • A fix is available in ClearCase versions 7.0.0.6, 7.0.1.5
    and 7.1.0.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK75289

  • Reported component name

    CLEARCASE UNIX

  • Reported component ID

    5724G2901

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-11-07

  • Closed date

    2009-06-04

  • Last modified date

    2009-06-04

  • 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 UNIX

  • Fixed component ID

    5724G2901

Applicable component levels

  • R700 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.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
04 June 2009