Minor Bug fixes...

This commit is contained in:
Balachandar Namasivayam 2018-03-15 11:00:47 -07:00
parent 856d2a0a9d
commit 89d7cc1093
2 changed files with 2 additions and 2 deletions

View File

@ -430,7 +430,7 @@ ACTOR static Future<Void> clientStatusUpdateActor(DatabaseContext *cx) {
// tr is destructed because it hold a reference to DatabaseContext which creates a cycle mentioned above.
// Hence destroy the transacation before sleeping to give a chance for the actor to be cleanedup if the Database is destroyed by the user.
tr = Transaction();
Void _ = wait(delay(*(const_cast<volatile double *>(&CLIENT_KNOBS->CSI_STATUS_DELAY)))); // CSI_STATUS_DELAY is modified by ClientTransactionProfileCorrectnessWorkload
Void _ = wait(delay(CLIENT_KNOBS->CSI_STATUS_DELAY));
}
catch (Error& e) {
if (e.code() == error_code_actor_cancelled) {

View File

@ -29,7 +29,7 @@ bool checkTxInfoEntryFormat(BinaryReader &reader) {
reader >> protocolVersion;
reader.setProtocolVersion(protocolVersion);
while (reader.empty()) {
while (!reader.empty()) {
// Get EventType and timestamp
FdbClientLogEvents::EventType event;
reader >> event;