I am ok with checking for any empty log directory. But I am curious
why would log dir be empty if it was used before unless user is
explicitly deleting the files, in which cases he/she can delete the
"log" dir too. My understanding is Derby creates "log" directory
under the user specified path. logDevice can be specified only on
creation, What is the backward compatability scenario we are trying to
solve, am I missing something.
Thanks
-suresht
Daniel John Debrunner (JIRA) wrote:
[ http://issues.apache.org/jira/browse/DERBY-1039?page=comments#action_12367869 ]
Daniel John Debrunner commented on DERBY-1039:
----------------------------------------------
The proposed solution from the summary seems too extreme and could break existing applications.
If the logDevice path already exists but is empty then there is no
problem,
I know I've set up scripts like this in the past. Should the checks be
limited to situations that cause problems,
namely as described in the description,
the directory alredy contains old log files?