microsoft / microsoft/p4vfs

SocketModelClient exception

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
308
Forks
20
Avg merge
14h 56m
Merged PRs (30d)
1

Description

I tried using p4vfs to populate a large tree, and after a few minutes it terminated with an error:

P4VFS version 1.24.0.0
Virtual Sync: ["XyzGame/..."] Quiet Single @24588784
SocketModelClient.SendCommand exit with exception: One or more errors occurred.

The tree appears to be complete but the fact that the command errored out is a bit concerning. I have not yet looked at the code so don't know how easy it might be to either back out all changes to the file system or add retry/resume logic somehow.

The server log contains the following

-03/10/2023-09:23:18::<Error> - SocketModelLogDevice.WriteDevice exception: One or more errors occurred.
-03/10/2023-09:23:18::<Info> - //Xyz/Main/Engine/Content/Internationalization/EFIGSCJK/icudt64l/lang/en_LR.res#1 - installed as d:\FN2\Engine\Content\Internationalization\EFIGSCJK\icudt64l\lang\en_LR.res
-03/10/2023-09:23:18::<Info> - Aborting Sync from DepotClient fault
-03/10/2023-09:23:18::<Info> - Aborting Sync from DepotClient fault
-03/10/2023-09:23:18::<Info> - Aborting Sync from DepotClient fault
-03/10/2023-09:23:18::<Info> - Aborting Sync from DepotClient fault
-03/10/2023-09:23:18::<Info> - Aborting Sync from DepotClient fault
-03/10/2023-09:23:18::<Info> - Aborting Sync from DepotClient fault
-03/10/2023-09:23:18::<Info> - Aborting Sync from DepotClient fault
-03/10/2023-09:23:18::<Info> - Aborting Sync from DepotClient fault
-03/10/2023-09:23:18::<Error> - SocketModelServer.HandleClientConnection exiting with exception: One or more errors occurred.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the p4vfs populate XyzGame/... command, then trace the reported exception through SocketModelClient.SendCommand, SocketModelLogDevice.WriteDevice, and SocketModelServer.HandleClientConnection. Compare the command output with the server log and determine why the tree appears complete while the sync aborts. Done means the failure cause and resulting filesystem state are understood and documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.