perforce prevents VS solution loading
Posted 29 January 2017 - 06:16 AM
I get that totally ridiculous outlandish behavior with perforce. Personally I get it once a day or so, not sure what happens but it feels like server sometimes stops responding and anything that involves perforce block. The reason I blame on server is because when that problem happens I observe it on all machines.
Here are the problems that I see when that problem happens:
- when I open p4v I see progress bar cycling in the bottom right corner. If I try to exit it, p4v asks for confirmation with some kind of message related to loss of connectivity.
- if I try to start p4v *NOTHING AT ALL* happens, however, I see new p4v processes in task manager and they are looping at 100% cpu.
- most outlandish f%ck up when this problem happens is that I cannot load my VS solutions that use perforce bindings. Seriously? What is this shit?! My solution file has like 50 projects and it's stuck siting at loading 1 one and usually this broken shit happens for 5-10 minutes.
not sure what the reason that I see that perforce stops working, but it seems like I observe it regularly in the evening (as a wild guess, perhaps in our organization we reboot perforce server, as a workaround for other problem perhaps?). In any case, please fix that perforce VS plugin so that it wouldn't block on waiting for unresponsive perforce and offer to work offline
Posted 30 January 2017 - 10:15 AM
I agree that this sounds like a performance problem or backup taking place on the Perforce server. If your company pays for maintenance can you please ask them to contact email@example.com so we can investigate further.
Note that in the very latest Visual Studio plugin there is an improved offline mechanism however because I can't confirm the cause I don't know if this will improve your experience. If the server doesn't respond within the timeout period it should help. If the server is responding but painfully slowly then it may not have any impact.
I've therefore added this feedback to an enhancement request asking for an easily accessible offline mode on plugin startup.
Posted 05 February 2017 - 06:21 AM
The other extremely annoying issue when that happens is that I cannot edit anything in VS when that problem happens. Basically, as I understand, when I try to edit some file for the first time it needs to "check out" that file and blocks on server request that doesn't respond for a very long time. At this point entire VS is dysfunctional and deadlocked.
I guess it's obvious what the problem is and how to fix it: any call that can potentially talk to a server can block for a very long time. So, all the call that involve talking to a server have to have some sort of "watcher" that would unblock wait after certain amount of time and show that dialog saying that "server taking too long, do you want to work offline temporarily". Or something like that.
Posted 07 February 2017 - 02:01 AM
Posted 16 February 2017 - 06:17 AM
We do not use p4VS, because it's buggy and does not work at all. It just doesn't start. Somebody from perforce recommended to downgrade for non-latest version which works, but we decided not to use p4vs, since it's just unacceptable for us.
Can perforce please fix these bugs, these are so huge that it's hard to imagine what kind of software development process is at perforce: the most obvious simple usecases just make it all fall apart completely in worst possible way.
Just try that: take a laptop with perforce SCM plugin and open VS make sure it all works, close VS. Now, change your laptop to airplane mode and try to open VS... it's totally unacceptable. In my case we definetely running something at 10pm and I cannot use VS at all. I don't care if P4 stopped working, but it's just outlandish that P4 scm plugin blocks VS completely. Honestly, IMO this is type of bug where you call your CTO at 3 am and tell that there is an emergency that has to be addressed.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users