Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
poolmanager: fix staging files from tape
Motivation:

dCache currently cannot stage files from tape.

Commit 887d8d5 switched the staging context to use SelectedPool.
However, since SelectedPool is not Serializable, it is impossible for
poolmanager to reply to the door if the request requires staging a file.

Modification:

Make SelectedPool Serializable.

Result:

It is possible to stage files in dCache.

Target: master
Request: 4.2
Requires-notes: yes
Requires-book: no
Patch: https://rb.dcache.org/r/11122/
Acked-by: Albert Rossi
Acked-by: Dmitry Litvintsev
  • Loading branch information
paulmillar committed Aug 30, 2018
1 parent 779b458 commit 7cdcf4e
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -19,6 +19,8 @@

package org.dcache.poolmanager;

import java.io.Serializable;

import dmg.cells.nucleus.CellAddressCore;

import org.dcache.pool.assumption.Assumption;
Expand All @@ -32,8 +34,10 @@
* Encapsulates information about the pool and the assumptions under which
* the pool was selected.
*/
public class SelectedPool
public class SelectedPool implements Serializable
{
private static final long serialVersionUID = 1L;

private final PoolInfo info;

private final Assumption assumption;
Expand Down

0 comments on commit 7cdcf4e

Please sign in to comment.