Commit a925737
KVReplayGenerator: parse GET_LEASE and SET_LEASE operations
Summary:
Memcached's WSA logger will now emits GET_LEASE and SET_LEASE operations as well. This changes makes
the cachebench treats those as GET and SET, respectively, for compatibility.
Reviewed By: therealgymmy
Differential Revision: D43336316
fbshipit-source-id: c9b842d567b9fb2128b822bd429f5dce30b378da1 parent 6357906 commit a925737
File tree
2 files changed
+18
-3
lines changed- cachelib/cachebench/workload
- tests
2 files changed
+18
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
234 | | - | |
| 233 | + | |
| 234 | + | |
235 | 235 | | |
236 | | - | |
| 236 | + | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
59 | 71 | | |
60 | 72 | | |
61 | 73 | | |
| |||
86 | 98 | | |
87 | 99 | | |
88 | 100 | | |
| 101 | + | |
89 | 102 | | |
90 | 103 | | |
| 104 | + | |
| 105 | + | |
91 | 106 | | |
92 | 107 | | |
93 | 108 | | |
| |||
0 commit comments