12.07.2015 Views

Divide your depots - Perforce

Divide your depots - Perforce

Divide your depots - Perforce

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Perfsplit• Perfsplit• Only tool available• Easy to use• Point and shoot• Supported by <strong>Perforce</strong>*3


Perfsplit problems• Needs p4 snap• Increases file structure size• Involves downtime• Duplicate depot name• Copies files4


Work-Around (overview)• Lock RW access• Harvest lazy integration records• Use a replica• Bypass archive copy phase• Rename depot5


Work-Around – harvest records• Integration history• Include lbr file in split map• Example –• @pv@ 1 @db.rev@ @//depot/path/to/a/file.ext@ 1 65539 0 230490998495368 971118380 2D09407262535D83FF9155694E37E0341916928 0 0 @//depot/path/to/a/file.ext@ @1.1@ 65539• zgrep \@db.rev\@ /path/to/checkpoints.gz | grep //depot/path/to/split/ |awk '{print $15}' | grep -v path/to/split >> splitmap.lis6


Work-Around – bypass cp• Bypass archive copy phase• Nodoc option: “-a” flag7


Work Around – rename depot• Checkpoint new instance• Rename db.rev entries• Replay• Create new depot name on new instance8


Completion• Use modified process with Perfsplit to addressovergrown depot• Minimize downtime• Perfsplit = more desirable tool (large install)9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!