Bug 15696 - Stopping server during startup scan gets stuck 'scanning'
: Stopping server during startup scan gets stuck 'scanning'
Status: RESOLVED INVALID
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.6.0
: PC Windows Server 2003
: P3 normal (vote)
: Future
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-12 22:05 UTC by Jim McAtee
Modified: 2011-09-05 11:59 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim McAtee 2010-02-12 22:05:30 UTC
I was testing a script to update the server via SVN.  The script shuts down the server, does an SVN update, then starts the server again.  I'm sure I must have shut down the server several times while it was still running its library scan on startup.  What happens is that the server is left in a state where it thinks that a scan is taking place.  Restarting the server doesn't clear it, as the startup scan won't run when in this state.
Comment 1 Jim McAtee 2010-03-04 20:15:57 UTC
This and other 'is scanning' issues associated with running an in-process scanner will need to be dealt with before being released, or the system is going to be very unstable.  Some type of housekeeping that doesn't currently happen will need to be implemented whenever the server is shut down during a scan.
Comment 2 Michael Herger 2011-07-25 02:21:30 UTC
Jim - is this still an issue with the latest nightly? I did some related changes a while back without updating this bug report.
Comment 3 Jim McAtee 2011-07-25 02:29:14 UTC
The startup scan is part of the 'autorescan' feature, which has since been disabled on Windows. I think it's safe to say the it's no longer an issue on that platform.

Whether or not it's stable on platforms that still use autorescan is something that I couldn't say. Someone else would have to test that.
Comment 4 Jim McAtee 2011-09-05 11:59:40 UTC
This bug is moot since auto-rescan on Windows has been axed.