zhihao
10-10-2020, 11:30 AM
(09-24-2020 01:05 PM)zhihao Wrote: [ -> ]BIBO系统目前部署在$bibo_base: /thinker/globe/soft/bibo
首文修改为
((BIBO系统目前部署在$bibo_base: /thinker/globe/soft/bibo
->
BIBO work environment 用于设置BIBO系统的运行环境
))
(09-24-2020 01:05 PM)zhihao Wrote: [ -> ]BIBO系统目前部署在$bibo_base: /thinker/globe/soft/bibo
(09-24-2020 01:05 PM)zhihao Wrote: [ -> ]talk2thinker.sh
work() {
read $newcasepfn till meet blank line
(09-24-2020 01:05 PM)zhihao Wrote: [ -> ]select_case()
select_case() {
clear file $tspfn
$reqcaseid = requested case id
for each case; do
Quote: register tasks:
(09-24-2020 01:05 PM)zhihao Wrote: [ -> ]driver: task registration is too slow in wp289. We also need handle multiple concurrent queries so we should know a query ID (qid).Code:
select_case()
[code]
select_case() {
clear file $tspfn
$reqcaseid = requested case id
for each case; do
register tasks:
procone.py --tycano=$tycano --reqtype=$reqtype --reqcaseid=$reqcaseid
}
sacli --helper $bibo_helper match $newcasepfn
if successful {
qid=$(cat /tmp/bibo.qid)
}
(11-30-2020 03:22 PM)lingu Wrote: [ -> ](09-24-2020 01:05 PM)zhihao Wrote: [ -> ]driver: task registration is too slow in wp289. We also need handle multiple concurrent queries so we should know a query ID (qid).Code:
select_case()
[code]
select_case() {
clear file $tspfn
$reqcaseid = requested case id
for each case; do
register tasks:
procone.py --tycano=$tycano --reqtype=$reqtype --reqcaseid=$reqcaseid
}
Proposal: I suggest we change the above three lines to
Code:
sacli --helper $bibo_helper match $newcasepfn
if successful {
qid=$(cat /tmp/bibo.qid)
}
RR zhihao
(09-24-2020 01:05 PM)zhihao Wrote: [ -> ]insert_case()
Code:
insert_case() {
create a new directory $newdir, set its name as $casecnt + 1
Quote: copy $newcasepfn to $newdir
Quote:delete_case()
Code:
delete_case() {
clear file $tspfn
$reqcaseid = requested case id
for each case; do
set option $tycano, $reqtype and $reqcaseid for procone.py
done
auntie register tasks
generate delete success response
}
(10-12-2020 01:36 AM)lingu Wrote: [ -> ](09-24-2020 01:05 PM)zhihao Wrote: [ -> ]talk2thinker.sh
work() {
read $newcasepfn till meet blank line
Here backslash escape leads to trouble -- http://rar.shufangkeji.com:60380/showthr...3#pid43883
We should read the input without backslash escape interpretation -- 'read -r' instead of 'read'.
RR zhihao
--- working proactively, i've changed it in cod://bibo commit 6276848
(11-30-2020 05:03 PM)zhihao Wrote: [ -> ](11-30-2020 03:22 PM)lingu Wrote: [ -> ](09-24-2020 01:05 PM)zhihao Wrote: [ -> ]driver: task registration is too slow in wp289. We also need handle multiple concurrent queries so we should know a query ID (qid).Code:
select_case()
[code]
select_case() {
clear file $tspfn
$reqcaseid = requested case id
for each case; do
register tasks:
procone.py --tycano=$tycano --reqtype=$reqtype --reqcaseid=$reqcaseid
}
Proposal: I suggest we change the above three lines to
Code:
sacli --helper $bibo_helper match $newcasepfn
if successful {
qid=$(cat /tmp/bibo.qid)
}
RR zhihao
where is sacli's D info? I don't know how to use it and can't find it. So I can't tell which 3 lines should be replaced.
(05-22-2021 11:22 AM)zhihao Wrote: [ -> ]update headopst:
BIBO use port 22,80,62818