IBM Support

IC49285: UNEXPECTED RESULTS WITH RMDO -BEFORE AND -SINCE OPTIONS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • Environment:
    ============
    jstaquet@jstaquet0 % ct -ver
    ClearCase version 2003.06.00 (Tue Dec 16 21:15:58 EST 2003)
    clearcase_p2003.06.00-14 (Thu Dec 02 15:33:25 EST 2004)
    clearcase_p2003.06.00-15 (Thu Dec 02 06:37:35 EST 2004)
    clearcase_p2003.06.00-16 (Thu Dec 02 08:15:07 EST 2004)
    clearcase_p2003.06.00-20 (Wed Apr 06 08:32:39 EDT 2005)
    clearcase_p2003.06.00-21 (Wed Apr 06 16:09:19 EDT 2005)
    clearcase_p2003.06.00-22 (Tue Apr 26 12:19:27 EDT 2005)
    multisite_p2003.06.00-8 (Tue Apr 05 22:06:16 EDT 2005)
    clearcase_p2003.06.00-23 (Tue Jun 28 21:12:38 EDT 2005)
    clearcase_p2003.06.00-24 (Wed Jul 06 13:06:00 EDT 2005)
    clearcase_p2003.06.00-25 (Wed Sep 21 10:44:44 EDT 2005)
    clearcase_p2003.06.00-26 (Tue Sep 20 06:48:55 EDT 2005)
    multisite_p2003.06.00-10 (Tue Sep 20 07:47:27 EDT 2005)
    clearcase_p2003.06.00-28 (Fri Nov 18 06:38:27 EST 2005)
    clearcase_p2003.06.00-29 (Mon Nov 21 22:31:55 EST 2005)
    multisite_p2003.06.00-11 (Fri Nov 18 07:52:35 EST 2005)
    @(#) MVFS version 2003.06.10+ (Sat Oct 1 02:29:23 2005) VNODE
    built $Date: 2006
    -01-06.17:36:53 (UTC) $
    cleartool     2003.06.10+ (Sat Oct 1
    03:02:33 EDT 2005)
    db_server     2003.06.10+ (Sat Oct 1
    02:55:03 EDT 2005)
    VOB database schema version: 54
    jstaquet@jstaquet0 % uname -a
    Linux jstaquet0 2.4.21-15.EL #1 Thu Apr 22 00:27:41 EDT 2004
    i686 i686 i386 GNU/
    Linux
    Linux and Solaris
    Reproducible Y/N: Y
    =================
    Description of problem:
    =======================
    Unexpected results with rmdo -before and -since options
    Steps to reproduce:
    ===================
    1) -before is using ctime (displayed by "ct dump <DO>") as
    reference and not the date in the DO pathname.
    ________________________________________________________________
    __________________________________________
    jstaquet@jstaquet0 % ct lsdo
    02-May.11:54   "dep0@@02-May.11:54.103"
    02-May.12:04   "dep1@@02-May.12:04.106"
    02-May.11:54   "dep2@@02-May.11:54.104"
    02-May.12:04   "target@@02-May.12:04.107"
    02-May.11:54   "target@@02-May.11:54.105"
    jstaquet@jstaquet0 % ct dump dep0@@02-May.11:54.103
    dep0@@02-May.11:54.103
    /vobs/jcs_linux/DIR/dep0
    oid=9dccb128.d9c211da.992b.00:b0:d0:8c:ff:10  dbid=103 (0x67)
    mtype=derived object
    stored fstat:
    ino: 0; type: 1; mode: 020000000666
    usid: UNIX:UID-22083
    gsid: UNIX:GID-100
    nlink: 0; size: 0
    atime: Thu Jan 1 01:00:00 1970
    mtime: Tue May 2 11:54:16 2006
    ctime: Tue May 2 12:04:57 2006
    returned fstat:
    ino: 103; type: 1; mode: 020000000666
    usid: UNIX:UID-22083
    gsid: UNIX:GID-100
    nlink: 0; size: 0
    atime: Tue May 2 11:54:16 2006
    mtime: Tue May 2 11:54:16 2006
    ctime: Tue May 2 12:04:57 2006
    master replica dbid=3
    ...
    jstaquet@jstaquet0 % ct rmdo -before 02-May.11:57 dep0
    jstaquet@jstaquet0 % ct rmdo -before 02-May.12:05 dep0
    Removed derived object "dep0".
    2) -since is not deleting all related DOs
    _________________________________________
    jstaquet@jstaquet0 % ct lsdo -zero -l
    ...
    02-May-06.12:24:25     Jean-Claude Staquet
    (jstaquet.rational@jstaquet0)
      create derived object "target@@02-May.12:24.110"
      size of derived object is: 17
      last access: 02-May-06.12:24:25
      references: 1  =>
    jstaquet0:/export/views/jstaquet/jcslinux.vws
    02-May-06.12:04:58     Jean-Claude Staquet
    (jstaquet.rational@jstaquet0)
      create derived object "target@@02-May.12:04.107"
      size of derived object is: 15
      last access: 02-May-06.12:04:58
      references: 1  =>
    jstaquet0:/export/views/jstaquet/jcslinux0.vws
    02-May-06.11:54:17     ???.???
      create derived object "target@@02-May.11:54.105"
      size of derived object is: 17
      last access: 02-May-06.11:54:17
      references: 0
    jstaquet@jstaquet0 % ct rmdo -since 02-May.11:05 target
    Removed derived object "target". ===> only
    target@@02-May.12:24.110 is deleted
    jstaquet@jstaquet0 % ct lsdo -zero -l
    ...
    02-May-06.12:04:58     Jean-Claude Staquet
    (jstaquet.rational@jstaquet0)
      create derived object "target@@02-May.12:04.107"
      size of derived object is: 15
      last access: 02-May-06.12:04:58
      references: 1  =>
    jstaquet0:/export/views/jstaquet/jcslinux0.vws
    02-May-06.11:54:17     ???.???
      create derived object "target@@02-May.11:54.105"
      size of derived object is: 17
      last access: 02-May-06.11:54:17
      references: 0
    jstaquet@jstaquet0 % ct dump target@@02-May.12:04.107
    target@@02-May.12:04.107
    /vobs/jcs_linux/DIR/target
    oid=1c7cbb3c.d9c411da.9947.00:b0:d0:8c:ff:10  dbid=107 (0x6b)
    mtype=derived object
    stored fstat:
    ino: 0; type: 1; mode: 0666
    usid: UNIX:UID-22083
    gsid: UNIX:GID-100
    nlink: 1; size: 15
    atime: Thu Jan 1 01:00:00 1970
    mtime: Tue May 2 12:04:58 2006
    ctime: Tue May 2 12:04:58 2006
    returned fstat:
    ino: 107; type: 1; mode: 0666
    usid: UNIX:UID-22083
    gsid: UNIX:GID-100
    nlink: 1; size: 15
    atime: Tue May 2 12:04:58 2006
    mtime: Tue May 2 12:04:58 2006
    ctime: Tue May 2 12:04:58 2006
    master replica dbid=3
    nsdir_elem=43  name="target"  idstr="02-May.12:04.107"
    view="jstaquet0:/export/views/jstaquet/jcslinux0.vws"
    (b95865e7.4a1111da.8aec.00
    :b0:d0:8c:ff:10)
    config rec=536871103
    Predefined dependency hash=3579222636
    Build script hash=1227520514
    ref count=1
    jstaquet@jstaquet0 % ct rmdo -zero -since 02-May.11:05 target
    jstaquet@jstaquet0 %
    Workaround:
    ===========
    Use explicit arguments:
    ct rmdo <DO1> <DO2> ...
    

Local fix

Problem summary

  • Unexpected results with rmdo -before and -since options.
    

Problem conclusion

  • After analysis of this defect, we have determined that it
    must
    remain a permanent product restriction. Business priorities
    dictate that we concentrate our efforts on more critical
    issues
    that can be addressed within a reasonable amount of time.
    Since
    this defect has no harmful side effects and there is an easy
    workaround, we do not plan to expend resources to fix it in
    the
    foreseeable future.
    To work around the problem, use explicit arguments:
      ct rmdo ?DO1? ?DO2? ...
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC49285

  • Reported component name

    RATL CLEARCASE

  • Reported component ID

    5724F1400

  • Reported release

    ALL

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-05-02

  • Closed date

    2007-04-25

  • Last modified date

    2007-04-25

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

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

Fix information

Applicable component levels

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

Document Information

Modified date:
25 April 2007