Jump to content


Using clone/fetch on streams

stream clone fetch

  • Please log in to reply
2 replies to this topic

#1 Jeff Varga

Jeff Varga

    Member

  • Members
  • PipPip
  • 15 posts

Posted 06 December 2018 - 01:39 AM

We have some engineers that really, really want the git-like experience, but task streams are just too heavy/permanent.  I am attempting to set up the DVCS workflow described in https://www.perforce...dvcs.setup.html and using sambwise's notes at https://forums.perfo...ch-in-perforce/ but am encountering an issue:

$ p4 clone -v //streamDepot/admin/...
Server jvarga-dvcs-1544059728 saved.
Cloning from '<redacted>'...
fetch load revisions 2 finishing
check files 100% finishing
fetch archives 50% failed!
Librarian checkout streamDepot/admin/test/test.txt failed.
open for read: streamDepot/admin/test/test.txt,v: No such file or directory
2018/12/05 17:28:49 pid 114551 jvarga@jvarga-dvcs-1544059728 138.72.200.42 [p4/v81] 'rmt-Fetch'
--- lapse .004s
--- usage 4+0us 0+8io 0+0net 4484k 0pf
--- rpc msgs/size in+out 0+4/0mb+0mb himarks 785732/523588 snd/rcv .000s/.000s
--- db.counters
---   pages in+out+cached 4+0+3
---   locks read/write 0/0 rows get+pos+scan put+del 1+0+0 0+0
---   peek count 1 wait+held total/max 0ms+0ms/0ms+0ms
--- db.user
---   pages in+out+cached 4+0+3
---   locks read/write 1/0 rows get+pos+scan put+del 1+0+0 0+0
--- db.ticket
---   pages in+out+cached 3+0+2
---   locks read/write 1/0 rows get+pos+scan put+del 1+0+0 0+0
--- db.group
---   pages in+out+cached 5+0+4
---   locks read/write 1/0 rows get+pos+scan put+del 0+3+5 0+0
--- db.domain
---   pages in+out+cached 5+0+4
---   locks read/write 1/0 rows get+pos+scan put+del 1+0+0 0+0
--- db.haveview
---   pages in+out+cached 3+0+2
---   locks read/write 1/0 rows get+pos+scan put+del 0+1+1 0+0
--- db.integed
---   pages in+out+cached 8+0+7
---   locks read/write 0/0 rows get+pos+scan put+del 0+2+2 0+0
---   peek count 1 wait+held total/max 0ms+0ms/0ms+0ms
--- db.rev
---   pages in+out+cached 7+0+6
---   locks read/write 0/0 rows get+pos+scan put+del 0+1+3 0+0
---   peek count 1 wait+held total/max 0ms+0ms/0ms+0ms
--- db.traits
---   pages in+out+cached 1+0+1
---   locks read/write 0/0 rows get+pos+scan put+del 0+0+0 0+0
---   peek count 1 wait+held total/max 0ms+0ms/0ms+0ms
--- db.trigger
---   pages in+out+cached 3+0+2
---   locks read/write 1/0 rows get+pos+scan put+del 0+1+15 0+0
--- db.change
---   pages in+out+cached 7+0+6
---   locks read/write 0/0 rows get+pos+scan put+del 2+0+0 0+0
---   peek count 1 wait+held total/max 0ms+0ms/0ms+0ms
--- db.desc
---   pages in+out+cached 7+0+6
---   locks read/write 0/0 rows get+pos+scan put+del 2+0+0 0+0
---   peek count 1 wait+held total/max 0ms+0ms/0ms+0ms
--- db.repo
---   pages in+out+cached 3+0+2
---   locks read/write 1/0 rows get+pos+scan put+del 0+1+1 0+0
--- db.graphperm
---   pages in+out+cached 3+0+2
---   locks read/write 1/0 rows get+pos+scan put+del 0+1+1 0+0
--- db.fixrev
---   pages in+out+cached 3+0+2
---   locks read/write 0/0 rows get+pos+scan put+del 0+2+2 0+0
---   peek count 1 wait+held total/max 0ms+0ms/0ms+0ms
--- db.protect
---   pages in+out+cached 8+0+7
---   locks read/write 1/0 rows get+pos+scan put+del 0+1+511 0+0
--- db.monitor
---   pages in+out+cached 2+4+256
---   locks read/write 0/2 rows get+pos+scan put+del 0+0+0 1+1

Some file(s) could not be transferred from client.

The box in question is a Windows box connecting to a stream depot.  Is this the right way to get DVCS set up on //streamDepot/admin/ ?

#2 Sambwise

Sambwise

    Advanced Member

  • Members
  • PipPipPip
  • 665 posts

Posted 06 December 2018 - 08:07 PM

Ask the admin of the main server to run a "p4 verify" (assuming this isn't already happening as part of their standard backup routine, but if you're hitting this error I'm guessing it isn't) and act on whatever problems it uncovers.

#3 Jeff Varga

Jeff Varga

    Member

  • Members
  • PipPip
  • 15 posts

Posted 06 December 2018 - 10:11 PM

Correction due to misunderstanding between me and our admin.

"p4 verify" uncovered a missing link from the test instance copy.  Fixing those connections made everything work.

tl;dr: DVCS seems to work great on top of perforce streams so far.

Edited by Jeff Varga, 06 December 2018 - 11:32 PM.






Also tagged with one or more of these keywords: stream, clone, fetch

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users