Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
Incubator Pegasus
提交
5beba199
Incubator Pegasus
项目概览
apache
/
Incubator Pegasus
通知
9
Star
5
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Incubator Pegasus
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
5beba199
编写于
12月 28, 2018
作者:
Q
qinzuoyan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add replay_fd_bug.sh
上级
4b33f36c
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
41 addition
and
7 deletion
+41
-7
rdsn
rdsn
+1
-1
replay_fd_bug.sh
replay_fd_bug.sh
+34
-0
src/server/config-server.ini
src/server/config-server.ini
+6
-6
未找到文件。
rdsn
@
a6f5d11a
比较
38d7c02c
...
a6f5d11a
Subproject commit
38d7c02c89e22865e16775ed7e0f8e2f2f4732e5
Subproject commit
a6f5d11a9c914acdb61b5c86732eddd4e9a83481
replay_fd_bug.sh
0 → 100755
浏览文件 @
5beba199
#!/bin/bash
./run.sh clear_onebox
echo
./run.sh start_onebox
-r
6
-w
-p
16
echo
primary
=
`
echo
cluster_info | ./run.sh shell 2>&1 |
grep
primary_meta_server |
awk
'{print $3}'
`
pid
=
`
echo
"app temp -d"
| ./run.sh shell 2>&1 |
grep
" 10.239.35.112:34801 "
|
head
-n
1 |awk
'{print $1}'
`
echo
"set meta.fd.ignore = 10.239.35.112:34801"
echo
"remote_command -l
$primary
meta.fd.ignore 10.239.35.112:34801"
| ./run.sh shell &>/dev/null
echo
"sleep 20 (to wait replica1 become unalive)"
sleep
20
echo
"nodes -d"
| ./run.sh shell 2>&1 |
grep
"10.239.35.112:34801"
echo
echo
"set meta.fd.ignore = none"
echo
"remote_command -l
$primary
meta.fd.ignore none"
| ./run.sh shell &>/dev/null
echo
"sleep 5 (to wait replica1 become alive)"
sleep
5
echo
"nodes -d"
| ./run.sh shell 2>&1 |
grep
"10.239.35.112:34801"
echo
echo
"set meta.lb.assign_delay_ms = 1000"
echo
"remote_command -l
$primary
meta.lb.assign_delay_ms 1000"
| ./run.sh shell &>/dev/null
echo
"sleep 5 (to wait replica1 coredump)"
sleep
5
echo
"find core in onebox/replica1:"
echo
"------------------------------"
grep
"^F"
onebox/replica1/data/log/log.1.txt
src/server/config-server.ini
浏览文件 @
5beba199
...
...
@@ -44,7 +44,7 @@ cli_remote = true
;aio_factory_name = dsn::tools::native_aio_provider
start_nfs
=
true
logging_start_level
=
LOG_LEVEL_
DEBUG
logging_start_level
=
LOG_LEVEL_
INFORMATION
logging_factory_name
=
dsn::tools::simple_logger
;logging_factory_name = dsn::tools::screen_logger
;logging_factory_name = dsn::tools::hpc_logger
...
...
@@ -150,7 +150,7 @@ allow_inline = false
fast_execution_in_network_thread
=
false
rpc_call_header_format
=
NET_HDR_DSN
rpc_call_channel
=
RPC_CHANNEL_TCP
rpc_timeout_milliseconds
=
5
000
rpc_timeout_milliseconds
=
1
000
disk_write_fail_ratio
=
0.0
disk_read_fail_ratio
=
0.0
...
...
@@ -169,7 +169,7 @@ replica_assign_delay_ms_for_dropouts = 300000
node_live_percentage_threshold_for_update
=
50
min_live_node_count_for_unfreeze
=
3
hold_seconds_for_dropped_app
=
604800
meta_function_level_on_start
=
livel
y
meta_function_level_on_start
=
stead
y
recover_from_replica_server
=
false
max_replicas_in_group
=
4
...
...
@@ -204,7 +204,7 @@ staleness_for_commit = 20
max_mutation_count_in_prepare_list
=
110
mutation_2pc_min_replica_count
=
2
group_check_disabled
=
fals
e
group_check_disabled
=
tru
e
group_check_interval_ms
=
100000
checkpoint_disabled
=
false
...
...
@@ -213,7 +213,7 @@ checkpoint_min_decree_gap = 10000
checkpoint_max_interval_hours
=
1
gc_disabled
=
false
gc_interval_ms
=
30
000
gc_interval_ms
=
2
000
gc_memory_replica_interval_ms
=
300000
gc_disk_error_replica_interval_seconds
=
172800000
gc_disk_garbage_replica_interval_seconds
=
86400
...
...
@@ -241,7 +241,7 @@ log_shared_force_flush = false
log_shared_pending_size_throttling_threshold_kb
=
0
log_shared_pending_size_throttling_delay_ms
=
0
config_sync_disabled
=
fals
e
config_sync_disabled
=
tru
e
config_sync_interval_ms
=
30000
lb_interval_ms
=
3000
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录