From a13f90a15ee910c0ada316366e197de11bc6cc62 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 14 Apr 2022 00:00:50 +0200 Subject: add wirewatch shutdown shard cleanup logic --- src/include/taler_exchangedb_plugin.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/include/taler_exchangedb_plugin.h') diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 18f2fd92..abc7a7aa 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -4296,6 +4296,20 @@ struct TALER_EXCHANGEDB_Plugin uint64_t *start_row, uint64_t *end_row); + /** + * Function called to abort work on a shard. + * + * @param cls the @e cls of this struct with the plugin-specific state + * @param job_name name of the operation to abort a word shard for + * @param start_row inclusive start row of the shard + * @param end_row exclusive end row of the shard + * @return transaction status code + */ + enum GNUNET_DB_QueryStatus + (*abort_shard)(void *cls, + const char *job_name, + uint64_t start_row, + uint64_t end_row); /** * Function called to persist that work on a shard was completed. -- cgit v1.2.3