- Consider logging a trace event in "DatabaseContext::getLatestCommitVersions" (#8008)
only if the version vector doesn't have an entry for a tag. - Address a bug in "run_custom_cluster.sh" (Note: code change provided by Dan).
This commit is contained in:
parent
2907d2d4dd
commit
f257b6c2d0
|
@ -270,8 +270,8 @@ void DatabaseContext::getLatestCommitVersions(const Reference<LocationInfo>& loc
|
|||
}
|
||||
}
|
||||
}
|
||||
// commitVersion == readVersion is common, do not log.
|
||||
if (!updatedVersionMap && commitVersion != readVersion) {
|
||||
// Do not log if commitVersion >= readVersion.
|
||||
if (!updatedVersionMap && commitVersion == invalidVersion) {
|
||||
TraceEvent(SevDebug, "CommitVersionNotFoundForSS")
|
||||
.detail("InSSIDMap", iter != ssidTagMapping.end() ? 1 : 0)
|
||||
.detail("Tag", tag)
|
||||
|
|
|
@ -40,7 +40,7 @@ function start_servers {
|
|||
mkdir -p ${LOG} ${DATA}
|
||||
PORT=$(( $PORT_PREFIX + $SERVER_COUNT ))
|
||||
ZONE=$4-Z-$(( $j % $REPLICATION_COUNT ))
|
||||
$2 ${FDB} -p auto:${PORT} "$KNOBS" -c $3 -d $DATA -L $LOG -C $CLUSTER --datacenter_id=$4 --locality-zoneid $ZONE --locality-machineid M-$SERVER_COUNT &
|
||||
$2 ${FDB} -p auto:${PORT} $KNOBS -c $3 -d $DATA -L $LOG -C $CLUSTER --datacenter_id=$4 --locality-zoneid $ZONE --locality-machineid M-$SERVER_COUNT &
|
||||
SERVER_COUNT=$(( $SERVER_COUNT + 1 ))
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue