{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":491774924,"defaultBranch":"main","name":"rocksdb","ownerLogin":"wangnengjie","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2022-05-13T05:57:58.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/43722125?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1652421544.3038452","currentOid":""},"activityList":{"items":[{"before":"cdaa9576bbfe788bfd893c247334c6728ad6222c","after":"71ca9a1dcde32ebf3a41dc019f6b08614bc13e9f","ref":"refs/heads/main","pushedAt":"2023-06-02T08:07:33.715Z","pushType":"push","commitsCount":904,"pusher":{"login":"wangnengjie","name":"Panda","path":"/wangnengjie","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/43722125?s=80&v=4"},"commit":{"message":"Log correct compaction score for Universal Compaction (#11487)\n\nSummary:\ncurrently 0 is incorrectly logged as the compaction score for L0 when num_levels > 1. This PR fixes the issue to log the correct score.\n\nPull Request resolved: https://github.com/facebook/rocksdb/pull/11487\n\nTest Plan:\n```\n./db_bench --benchmarks=fillrandom --max_background_jobs=8 --num=1000000 --compaction_style=1 --stats_dump_period_sec=20 --num_levels=7 --write_buffer_size=1048576\n\ngrep \"L0 \" /tmp/rocksdbtest-543376/dbbench/LOG\n\nbefore:\n** Compaction Stats [default] **\nPriority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB)\n---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\nL0 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 9.9 0.42 0.33 9 0.046 0 0 0.0 0.0\nL0 3/1 1.37 MB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.1 0.6 9.6 3.76 3.03 76 0.050 34K 140 0.0 0.0\nL0 2/0 2.26 MB 0.0 0.0 0.0 0.0 0.1 0.1 0.0 1.6 3.2 8.2 12.59 11.17 163 0.077 619K 5499 0.0 0.0\n\nafter: compaction scores are non-zero\nL0 0/0 0.00 KB 0.8 0.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 9.6 0.43 0.34 9 0.048 0 0 0.0 0.0\nL0 2/1 937.08 KB 1.0 0.0 0.0 0.0 0.0 0.0 0.0 1.1 0.6 9.3 3.85 3.07 75 0.051 34K 165 0.0 0.0\nL0 2/2 1.82 MB 1.0 0.0 0.0 0.0 0.1 0.1 0.0 1.6 3.0 8.0 12.45 10.99 160 0.078 577K 5399 0.0 0.0\n\n```\n\nReviewed By: ajkr\n\nDifferential Revision: D46293993\n\nPulled By: cbi42\n\nfbshipit-source-id: 19753f7df68c5f54a84c4ed52794f83e510c9721","shortMessageHtmlLink":"Log correct compaction score for Universal Compaction (facebook#11487)"}},{"before":"cdaa9576bbfe788bfd893c247334c6728ad6222c","after":"71ca9a1dcde32ebf3a41dc019f6b08614bc13e9f","ref":"refs/heads/main","pushedAt":"2023-06-02T08:07:33.631Z","pushType":"push","commitsCount":904,"pusher":{"login":"wangnengjie","name":"Panda","path":"/wangnengjie","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/43722125?s=80&v=4"},"commit":{"message":"Log correct compaction score for Universal Compaction (#11487)\n\nSummary:\ncurrently 0 is incorrectly logged as the compaction score for L0 when num_levels > 1. This PR fixes the issue to log the correct score.\n\nPull Request resolved: https://github.com/facebook/rocksdb/pull/11487\n\nTest Plan:\n```\n./db_bench --benchmarks=fillrandom --max_background_jobs=8 --num=1000000 --compaction_style=1 --stats_dump_period_sec=20 --num_levels=7 --write_buffer_size=1048576\n\ngrep \"L0 \" /tmp/rocksdbtest-543376/dbbench/LOG\n\nbefore:\n** Compaction Stats [default] **\nPriority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB)\n---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\nL0 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 9.9 0.42 0.33 9 0.046 0 0 0.0 0.0\nL0 3/1 1.37 MB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.1 0.6 9.6 3.76 3.03 76 0.050 34K 140 0.0 0.0\nL0 2/0 2.26 MB 0.0 0.0 0.0 0.0 0.1 0.1 0.0 1.6 3.2 8.2 12.59 11.17 163 0.077 619K 5499 0.0 0.0\n\nafter: compaction scores are non-zero\nL0 0/0 0.00 KB 0.8 0.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 9.6 0.43 0.34 9 0.048 0 0 0.0 0.0\nL0 2/1 937.08 KB 1.0 0.0 0.0 0.0 0.0 0.0 0.0 1.1 0.6 9.3 3.85 3.07 75 0.051 34K 165 0.0 0.0\nL0 2/2 1.82 MB 1.0 0.0 0.0 0.0 0.1 0.1 0.0 1.6 3.0 8.0 12.45 10.99 160 0.078 577K 5399 0.0 0.0\n\n```\n\nReviewed By: ajkr\n\nDifferential Revision: D46293993\n\nPulled By: cbi42\n\nfbshipit-source-id: 19753f7df68c5f54a84c4ed52794f83e510c9721","shortMessageHtmlLink":"Log correct compaction score for Universal Compaction (facebook#11487)"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADOUxvMQA","startCursor":null,"endCursor":null}},"title":"Activity ยท wangnengjie/rocksdb"}