Merge branch 'release-6.0'
# Conflicts: # documentation/sphinx/source/release-notes.rst
This commit is contained in:
commit
1314bcec9e
|
@ -283,7 +283,7 @@ ACTOR Future<bool> getStorageServersRecruiting( Database cx, Reference<AsyncVar<
|
|||
}
|
||||
|
||||
ACTOR Future<Void> repairDeadDatacenter(Database cx, Reference<AsyncVar<ServerDBInfo>> dbInfo, std::string context) {
|
||||
if(g_network->isSimulated()) {
|
||||
if(g_network->isSimulated() && g_simulator.usableRegions > 1) {
|
||||
bool primaryDead = g_simulator.datacenterDead(g_simulator.primaryDcId);
|
||||
bool remoteDead = g_simulator.datacenterDead(g_simulator.remoteDcId);
|
||||
|
||||
|
|
|
@ -699,7 +699,7 @@ struct TagPartitionedLogSystem : ILogSystem, ReferenceCounted<TagPartitionedLogS
|
|||
virtual Reference<IPeekCursor> peekSpecial( UID dbgid, Version begin, Tag tag, int8_t peekLocality, Version localEnd ) {
|
||||
Version end = getEnd();
|
||||
TraceEvent("TLogPeekSpecial", dbgid).detail("Begin", begin).detail("End", end).detail("LocalEnd", localEnd).detail("PeekLocality", peekLocality);
|
||||
if(localEnd == invalidVersion) {
|
||||
if(localEnd == invalidVersion || localEnd <= begin) {
|
||||
return peekAll(dbgid, begin, end, tag, true, false);
|
||||
}
|
||||
|
||||
|
|
|
@ -2562,7 +2562,7 @@ ACTOR Future<Void> update( StorageServer* data, bool* pReceivedUpdate )
|
|||
ver = updater.currentVersion;
|
||||
}
|
||||
|
||||
if(ver != invalidVersion) {
|
||||
if(ver != invalidVersion && ver > data->version.get()) {
|
||||
debugKeyRange("SSUpdate", ver, allKeys);
|
||||
|
||||
data->mutableData().createNewVersion(ver);
|
||||
|
|
Loading…
Reference in New Issue