Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
控制后台同步被中断后 dbmlsync 的行为。
dbmlsync -bkr num...
num 为大于等于 -1 的整数。
如果 num 为 -1,则 dbmlsync 将不间断地重试中断的同步,直到完成(成功或不成功)。如果 num 为 0,dbmlsync 不会重试中断的同步。如果 num 大于 0,则 dbmlsync 会重试多达 num 次的同步,直到同步完成。经过 num 次尝试后,如果同步仍未完成,则它会作为前台同步运行以在不被中断的情况下完成。
缺省情况下 BackgroundRetry 为 0。未将 Background 选项设置为 TRUE 时,将 BackgroundRetry 设置为非零值是错误的。请参见-bk dbmlsync 选项。
使用 dbmlsync API 或 SQL SYNCHRONIZE 语句时,BackgroundRetry 将被忽略。