func (wr *Wrangler) lockShard(ctx context.Context, keyspace, shard string, actionNode *actionnode.ActionNode) (lockPath string, err error) { return actionNode.LockShard(ctx, wr.ts, keyspace, shard) }
func (wr *Wrangler) lockShard(ctx context.Context, keyspace, shard string, actionNode *actionnode.ActionNode) (lockPath string, err error) { ctx, cancel := context.WithTimeout(ctx, wr.lockTimeout) defer cancel() return actionNode.LockShard(ctx, wr.ts, keyspace, shard) }
func (wr *Wrangler) lockShard(keyspace, shard string, actionNode *actionnode.ActionNode) (lockPath string, err error) { return actionNode.LockShard(wr.ts, keyspace, shard, wr.lockTimeout, interrupted) }