Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3245595
D10911.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D10911.diff
View Options
diff --git a/native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/DataStores/BaseDataStore.h b/native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/DataStores/BaseDataStore.h
--- a/native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/DataStores/BaseDataStore.h
+++ b/native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/DataStores/BaseDataStore.h
@@ -58,6 +58,7 @@
for (const auto &operation : *storeOpsPtr) {
operation->execute();
}
+ DatabaseManager::getQueryExecutor().captureBackupLogs();
DatabaseManager::getQueryExecutor().commitTransaction();
} catch (std::system_error &e) {
error = e.what();
@@ -93,6 +94,7 @@
for (const auto &operation : storeOps) {
operation->execute();
}
+ DatabaseManager::getQueryExecutor().captureBackupLogs();
DatabaseManager::getQueryExecutor().commitTransaction();
} catch (const std::exception &e) {
DatabaseManager::getQueryExecutor().rollbackTransaction();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 15, 7:34 PM (22 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2495188
Default Alt Text
D10911.diff (1 KB)
Attached To
Mode
D10911: Capture backup logs at the end of each data store transaction.
Attached
Detach File
Event Timeline
Log In to Comment