Skip to content

Commit

Permalink
Try to switch to Stduio 2017
Browse files Browse the repository at this point in the history
Summary: Closes facebook#2802

Differential Revision: D5746710

Pulled By: siying

fbshipit-source-id: daa621ba5fccb84c0d6cdb7755c5e09319c45cb4
  • Loading branch information
yuslepukhin authored and facebook-github-bot committed Aug 31, 2017
1 parent 825a22c commit 8fa4d10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ before_build:
build:
project: build\rocksdb.sln
parallel: true
verbosity: minimal
verbosity: normal
test:
test_script:
- ps: build_tools\run_ci_db_test.ps1 -SuiteRun db_basic_test,db_test2,db_test,env_basic_test,env_test -Concurrency 8
Expand Down
4 changes: 2 additions & 2 deletions tools/db_stress.cc
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ class SharedState {

bool HasVerificationFailedYet() { return verification_failure_.load(); }

port::Mutex* GetMutexForKey(int cf, long key) {
port::Mutex* GetMutexForKey(int cf, int64_t key) {
return key_locks_[cf][key >> log2_keys_per_lock_].get();
}

Expand Down Expand Up @@ -1773,7 +1773,7 @@ class StressTest {
static_cast<double>(i) / FLAGS_ops_per_thread;
const int64_t base_key = static_cast<int64_t>(
completed_ratio * (FLAGS_max_key - FLAGS_active_width));
long rand_key = base_key + thread->rand.Next() % FLAGS_active_width;
int64_t rand_key = base_key + thread->rand.Next() % FLAGS_active_width;
int rand_column_family = thread->rand.Next() % FLAGS_column_families;
std::string keystr = Key(rand_key);
Slice key = keystr;
Expand Down

0 comments on commit 8fa4d10

Please sign in to comment.