| 1070 | } |
| 1071 | |
| 1072 | void rollback(StorageCacheData* data, Version rollbackVersion, Version nextVersion) { |
| 1073 | CODE_PROBE(true, "call to cacheRange rollback"); |
| 1074 | // FIXME: enable when debugKeyRange is active |
| 1075 | // debugKeyRange("Rollback", rollbackVersion, allKeys); |
| 1076 | |
| 1077 | // FIXME: It's not straightforward to rollback certain versions from the VersionedMap. |
| 1078 | // It's doable. But for now, we choose to just throw away this cache role |
| 1079 | |
| 1080 | throw please_reboot(); |
| 1081 | } |
| 1082 | |
| 1083 | void StorageCacheData::addMutation(KeyRangeRef const& cachedKeyRange, Version version, MutationRef const& mutation) { |
| 1084 | MutationRef expanded = mutation; |
no outgoing calls
no test coverage detected