Commit 439e170
Fix MultiScan Prepare() to support dictionary compression (facebook#13896)
Summary:
I saw failure when added some asserts near https://github.com/facebook/rocksdb/blob/b9957c991cae44959f96888369caf1b145398132/table/block_based/block_based_table_iterator.cc#L1201-L1205 in stress test. The decompression failed with error message like "Corruption: Failed zlib inflate: -3". This PR fixes the issue to use the right decompressor for dictionary compression.
Pull Request resolved: facebook#13896
Test Plan: updated unit test that checks no I/O is done after Prepare(), this would fail before this change.
Reviewed By: anand1976
Differential Revision: D80821500
Pulled By: cbi42
fbshipit-source-id: a4322c0da99a2d10e9787d0ec168668567c0c19a1 parent 239b06c commit 439e170
3 files changed
Lines changed: 51 additions & 3 deletions
File tree
- table/block_based
- unreleased_history/bug_fixes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1175 | 1175 | | |
1176 | 1176 | | |
1177 | 1177 | | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
1178 | 1206 | | |
1179 | 1207 | | |
1180 | 1208 | | |
| |||
1199 | 1227 | | |
1200 | 1228 | | |
1201 | 1229 | | |
1202 | | - | |
1203 | | - | |
| 1230 | + | |
1204 | 1231 | | |
1205 | 1232 | | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
1206 | 1236 | | |
1207 | 1237 | | |
1208 | 1238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
994 | 994 | | |
995 | 995 | | |
996 | 996 | | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
997 | 1009 | | |
998 | 1010 | | |
999 | 1011 | | |
| |||
1052 | 1064 | | |
1053 | 1065 | | |
1054 | 1066 | | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
1055 | 1070 | | |
1056 | 1071 | | |
1057 | 1072 | | |
| |||
1089 | 1104 | | |
1090 | 1105 | | |
1091 | 1106 | | |
1092 | | - | |
| 1107 | + | |
1093 | 1108 | | |
1094 | 1109 | | |
1095 | 1110 | | |
| |||
1106 | 1121 | | |
1107 | 1122 | | |
1108 | 1123 | | |
| 1124 | + | |
| 1125 | + | |
1109 | 1126 | | |
1110 | 1127 | | |
1111 | 1128 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments