Hi Karl,
You're right it might be better to reschedule the file for later in this
case.
In my case, I was able to crawl the files the first time I tried.
When launching another crawl a few days later, the same files were locked.
I tried to crawl them several times during the day but never could reach
them with always the same error.
Currently MCF retries to access the file several times in a row, gives
up after several tries and stops the jobs with a message reporting the
smb Exception encountered.
Thanks for your answer,
Romaric
So it is indeed a temporary lock, but we can't tell how long it will last.
Le 09/10/2018 à 17:04, Karl Wright a écrit :
Hi Romaric,
If the error is transient, then the right thing to do is *not* to skip
the file, but to retry later. What currently happens?
Karl
On Tue, Oct 9, 2018 at 10:05 AM Romaric Pighetti
<[email protected]
<mailto:[email protected]>> wrote:
Hi Karl,
Along the lines of this ticket
https://issues.apache.org/jira/projects/CONNECTORS/issues/CONNECTORS-1455?filter=allissues
submitted by Julien, I recently stumbled across another smb
exception thrown when dealing with some kind of locked files. The
error was
SmbException tossed processing smb://path/to/some/file.pst
jcifs.smb.SmbException: 0xC0000054
MSDN documentation about this error can be found on this page:
https://msdn.microsoft.com/en-us/library/ee441884.aspx?f=255&MSPPError=-2147217396
This happens with large pst files (outlook archives) that are in
use for example.
It is a case that would require the file to be skipped rather than
stopping the job in my opinion.
What do you think about it ?
Thanks,
Romaric
--
Romaric Pighetti
France Labs – Les experts du Search
Retrouvez-nous à l’Enterprise Search & Discovery
<http://www.enterprisesearchanddiscovery.com/2018/default.aspx>
Summit à Washington DC
cid:[email protected]
<http://www.enterprisesearchanddiscovery.com/2018/default.aspx>
www.francelabs.com <http://www.francelabs.com/>
--
Re: Nouvelle signature jusqu'à novembre Romaric Pighetti
France Labs – Les experts du Search
Retrouvez-nous à l’Enterprise Search & Discovery
<http://www.enterprisesearchanddiscovery.com/2018/default.aspx> Summit à
Washington DC
cid:[email protected]
<http://www.enterprisesearchanddiscovery.com/2018/default.aspx>
www.francelabs.com <http://www.francelabs.com/>