foundweekends / foundweekends/conscript

concurrent locking is blocking execution

未关闭
#79 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Enhancement
主要语言
Scala
星标
477
派生
59
平均合并
1 小时 2 分钟
30 天内合并 PR
7

描述

When running multiple `scalas` instances (installed using conscript as described on http://www.scala-sbt.org/0.13/docs/Scripts.html) all of the are hanging and just reporting:

```
Waiting for lock on /home/brandl/.conscript/boot/sbt.boot.lock to be available...
```

Locking should be optional or different instances should not interfere which each other.

贡献指南

这个仓库没有索引到贡献指南

调研方向

通过运行多个使用 conscript 安装的 `scalas` 实例来重现问题,并观察它们在 `/home/brandl/.conscript/boot/sbt.boot.lock` 上的等待。首先定位管理此 boot lock 的代码,并确定并发实例的预期行为。当并发执行不再意外地相互干扰,并且锁定行为由可靠的检查覆盖时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
scala
领域
cli
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。