Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
"PROBLEM/ABSTRACT:
There's a stuck entry in the Active Transaction list on a stream. The transaction consists of 'no files'. Attempts to promote the transaction yields an error:
"Validating elements. No elements named > > > /foo.c"
Note that there is no path to the file name, only the name itself.
SOLUTION:
Was the file moved or renamed?
Is the file defuncted?
Get an <accurev hist -t> on the transaction.
Are there any stranded element ID's in the stranded filter (the cli argument is <accurev stat -i -s stream-name>
Does a hist -s stream-name foo.c yield any data?
Here's a sample hist output on the transaction:
<AcResponse
Command="hist">
<element
id="22962">
<transaction
id="33134"
type="promote"
time="1069426866"
user="james">
<version
virtual="2/1"
real="5/4"
elem_type="text">
</version>
</transaction>
<transaction
id="33131"
type="defunct"
time="1069426316"
user="james">
<version
virtual="5/4"
real="5/4"
ancestor="5/3"
elem_type="text">
........
The rest of the hist output isn't relevant. Notice this hist output has no element name, only an element ID. Although, the transaction has no 'file name', it does have an element ID #22962. You should be able to purge against the element ID:
<accurev purge -s stream-name -e 22962>
For more information contact AccuRev Support"