Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Remote server: Not cleaning up old ncrunch grid node data when changing grid configuration paths.
GreenMoose
#1 Posted : Wednesday, March 12, 2014 1:29:13 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 507

Thanks: 145 times
Was thanked: 66 time(s) in 64 post(s)
v2.6.0.3

When I change the workspace paths for the grid node configuration, it restarts the service but does not seem to cleanup the old path used? (I need to do this manually)
Remco
#2 Posted : Wednesday, March 12, 2014 9:37:14 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
This isn't ideal behaviour, but I can understand why it is happening.

When you terminate the service, it forces the process to cease operating and shuts it down immediately. Because the service uses satellite processes (i.e. the task runners) which are performing other work, it cannot always clean up all resources on exit.

When the service restarts, it is designed to look for derelict workspaces left behind by the above situation and clean up them. Of course, in this case, it's now been restarted with a new workspace base path ... so it's looking in the wrong place.

I'll need to have a think about how this can be solved. Perhaps it can be done using a cleanup task from the configuration tool. For the time being, you may need to manually remove any artifacts if you change the workspace base path with the service already in operation.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.020 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download