dCache / dcache

dCache - a system for storing and retrieving huge amounts of data, distributed among a large number of heterogenous server nodes, under a single virtual filesystem tree with a variety of standard access methods
https://dcache.org
291 stars 136 forks source link

nfs door tries to kill mover twice #5411

Open kofemann opened 4 years ago

kofemann commented 4 years ago

The NFS door kills the mover associated with the transfer twice: once then layout return is called and second time when file is closed. Though this in general not a problem, in addition to extra message errors, like:

21 Apr 2020 12:29:30 [dcache-photon14-08-2156] [NFS-dcache-se-photon04 PoolMoverKill] Killing mover 67108869: killed by door: returning layout
21 Apr 2020 12:29:30 [dcache-photon14-08-2156] [NFS-dcache-se-photon04 PoolMoverKill] java.util.NoSuchElementException: Job 67108869 not found

can be triggered.

kofemann commented 4 years ago

A possible effect on the pool:

java.lang.IllegalStateException: Handle is closed
    at org.dcache.pool.repository.v5.WriteHandleImpl.close(WriteHandleImpl.java:346)
    at org.dcache.pool.classic.DefaultPostTransferService.lambda$execute$1(DefaultPostTransferService.java:118)
    at org.dcache.util.FireAndForgetTask.run(FireAndForgetTask.java:31)
    at org.dcache.util.CDCExecutorServiceDecorator$WrappedRunnable.run(CDCExecutorServiceDecorator.java:149)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)