mirror of https://gitee.com/bigwinds/arangodb
well tested auto adaptation
This commit is contained in:
parent
afadad7ad4
commit
69131a2fd3
|
@ -439,7 +439,7 @@ bool Inception::estimateRAFTInterval() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
maxmean = 1.0e-2*std::ceil(100*(.15 + 1.0e-3*maxmean));
|
maxmean = 1.e-3*std::ceil(1.e3*(.1 + 1.0e-3*(maxmean+maxstdev)));
|
||||||
|
|
||||||
LOG_TOPIC(INFO, Logger::AGENCY)
|
LOG_TOPIC(INFO, Logger::AGENCY)
|
||||||
<< "Auto-adapting RAFT timing to: {" << maxmean
|
<< "Auto-adapting RAFT timing to: {" << maxmean
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -124,7 +124,7 @@ extern int Aqldebug;
|
||||||
|
|
||||||
union YYSTYPE
|
union YYSTYPE
|
||||||
{
|
{
|
||||||
#line 19 "Aql/grammar.y" /* yacc.c:1909 */
|
#line 19 "Aql/grammar.y" /* yacc.c:1915 */
|
||||||
|
|
||||||
arangodb::aql::AstNode* node;
|
arangodb::aql::AstNode* node;
|
||||||
struct {
|
struct {
|
||||||
|
@ -134,7 +134,7 @@ union YYSTYPE
|
||||||
bool boolval;
|
bool boolval;
|
||||||
int64_t intval;
|
int64_t intval;
|
||||||
|
|
||||||
#line 138 "Aql/grammar.hpp" /* yacc.c:1909 */
|
#line 138 "Aql/grammar.hpp" /* yacc.c:1915 */
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef union YYSTYPE YYSTYPE;
|
typedef union YYSTYPE YYSTYPE;
|
||||||
|
|
Loading…
Reference in New Issue