storage_service: Stub get_exception_count

Needed by API.
This commit is contained in:
Asias He
2015-08-28 13:43:29 +08:00
parent 3331e9fafe
commit f244c85ea4
2 changed files with 8 additions and 6 deletions

View File

@@ -1532,4 +1532,9 @@ future<> storage_service::rebuild(sstring source_dc) {
return make_ready_future<>();
}
int32_t storage_service::get_exception_count() {
//return (int)StorageMetrics.exceptions.count();
return 0;
}
} // namespace service

View File

@@ -2789,12 +2789,9 @@ public:
SSTableLoader loader = new SSTableLoader(dir, client, new OutputHandler.LogOutput());
return loader.stream();
}
public int getExceptionCount()
{
return (int)StorageMetrics.exceptions.count();
}
#endif
int32_t get_exception_count();
#if 0
public void rescheduleFailedDeletions()
{
SSTableDeletingTask.rescheduleFailedTasks();