[p4] reverts hanging

Miles at perforce.com Miles at perforce.com
Tue Jul 3 15:15:01 PDT 2018


Posted on behalf of forum user 'Miles O'Neal'.

A user asked for help with a hung revert. With 32+K accidentally deleted files,
it documented reverting one hundred or so, and then froze. Two hours later I got
to look at it and killed the process on the server. I became that user via sudo
and played with things; it would consistently hang a short ways into the revert.
I eventually ran "p4 opened //foo/... | sed -e 's/#.*//' >
/tmp/revert.dat to get the paths of all the files that were open, then ran a
loop to revert each file individually. It took about 1 minute per 1,000 files
(32 minutes or so), but none of them hung. There were no streams or labels
involved.
This occurred from both P4v (the user) and p4 (me).
Any ideas?
Thanks!

RHEL6 (required by third party software we use)
Rev. P4V/LINUX26X86_64/2017.2/1532340
Rev. P4/LINUX26X86_64/2017.1/1534792 (2017/07/26).
Rev. P4D/LINUX26X86_64/2017.1/1534792 (2017/07/26).



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/5772-reverts-hanging


More information about the perforce-user mailing list