IBM Support

Importing a packet causes "Type manager text_file_delta failed delete_branches_versions operation" error

Troubleshooting


Problem

Importing an IBM Rational ClearCase MultiSite packet causes "multitool: Error: Type manager text_file_delta failed delete_branches_versions operation"

Symptom

When you try to import a packet from another replica you receive following error:


text_file_delta: Error: Internal Error detected in "\atria\lib\mgrs\text_file_delta\afd_container.c" line 289
multitool: Error: Type manager "text_file_delta" failed delete_branches_versions operation.
multitool: Error: Unable to replay oplog entry 39195810: error detected by ClearCase subsystem.
39195810:
op= rmbranch
replica_oid= 3995833b.a9c24b0d.b137.d8:75:a3:73:22:bc (replA)
oplog_id= 6065056
op_time= 2010-06-02T09:48:14Z create_time=2010-06-02T10:10:34Z
event comment= "Destroyed branch "\main\zzz"."
data size= 20 data= 0x2c179e0
------------
branch_oid= 1b7adeed.1bef4b2e.8c99.9b:11:e3:97:22:08 (*no view*)
text_file_delta: Error: Internal Error detected in "\atria\lib\mgrs\text_file_delta\afd_container.c" line 289
multitool: Error: Type manager "text_file_delta" failed delete_branches_versions operation.
multitool: Error: Unable to replay oplog entry 39195810: error detected by ClearCase subsystem.
39195810:
op= rmbranch
replica_oid= 3995833b.a9c24b0d.b137.d8:75:a3:73:22:bc (replA)
oplog_id= 6065056
op_time= 2010-06-02T09:48:14Z create_time=2010-06-02T10:10:34Z
event comment= "Destroyed branch "\main\zzz"."
data size= 20 data= 0x2c37dc8
------------
branch_oid= 1b7adeed.1bef4b2e.8c99.9b:11:e3:97:22:08 (*no view*)

Cause

Unknown

Resolving The Problem

Procedure:

  1. Determine the name and type of the affected element at the importing site using the following command:

    cleartool describe oid:<oid_of_branch>

    Where <oid_of_branch> the branch_oid mentioned in the error

    Example:

    Z:\testvob>cleartool describe oid:1b7adeed.1bef4b2e.8c99.9b:11:e3:97:22:08
    branch "z:\testvob\source\bla.c@@\main\zzz"
    created 2010-05-28T11:59:46+02:00 by cposl ...
    ...
    element type: text_file
    ...


  2. Change the element type of the element to file so that its source container is recreated:

    cleartool chtype file <element_name>

    Example:

    z:\testvob> cleartoool chtype file z:\testvob\source\bla.c

  3. Change the element type back to its original type, in this case text_file, using the following command:

    cleartool chtype <filetype> <element_name>

    Example:

    z:\testvob> cleartoool chtype text_file z:\testvob\source\bla.c

  4. Retry to import the packet.

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Synchronization","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.1;7.1.1;7.1.1.7;7.1.2;8.0;8.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21433319