gecko-dev/storage
Marco Bonardo f3e842d937 Bug 1813986 - Add an asyncVacuum() method to storage async connections, and let VacuumManager use it. r=asuth
Add asyncVacuum to mozIStorageAsyncConnection, that dispatches a runnable to
the helper thread, where it will execute a full or incremental vacuum, depending
on the connection auto_vacuum value.
It also supports vacuuming attached schemas.
asyncVacuum() supports changing both the page_size and auto_vacuum.
Change mozIStorageVacuumParticipant to return a mozIStorageAsyncConnection and
allow specifying whether incremental vacuum should be enabled.
Change vacuumManager notification from heavy-io-task to vacuum-begin and vacuum-end
since the original proposal of notifying heavy IO didn't take off.
Cleanup test_vacuum to be able to use instances of the test VacuumParticipant,
that means we can remove the no more necessary registerESM hack.
Fix Places History as the only cpp consumer.

Differential Revision: https://phabricator.services.mozilla.com/D168298
2023-03-22 15:36:37 +00:00
..
build
rust Bug 1802689 - Add missing licenses info in Cargo.toml r=mhoye,necko-reviewers,kershaw,valentin 2022-12-13 09:14:44 +00:00
test Bug 1813986 - Add an asyncVacuum() method to storage async connections, and let VacuumManager use it. r=asuth 2023-03-22 15:36:37 +00:00
variant Bug 1802689 - Add missing licenses info in Cargo.toml r=mhoye,necko-reviewers,kershaw,valentin 2022-12-13 09:14:44 +00:00
FileSystemModule.cpp
FileSystemModule.h
IStorageBindingParamsInternal.h
moz.build Bug 1819535 - Extract quota related stuff from TelemetryVFS into standalone QuotaVFS; r=dom-storage-reviewers,mak,asuth 2023-03-07 14:27:07 +00:00
mozIStorageAsyncConnection.idl Bug 1813986 - Add an asyncVacuum() method to storage async connections, and let VacuumManager use it. r=asuth 2023-03-22 15:36:37 +00:00
mozIStorageAsyncStatement.idl
mozIStorageBaseStatement.idl
mozIStorageBindingParams.idl
mozIStorageBindingParamsArray.idl
mozIStorageCompletionCallback.idl
mozIStorageConnection.idl
mozIStorageError.idl
mozIStorageFunction.idl
mozIStoragePendingStatement.idl
mozIStorageProgressHandler.idl
mozIStorageResultSet.idl
mozIStorageRow.idl
mozIStorageService.idl
mozIStorageStatement.idl Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
mozIStorageStatementCallback.idl
mozIStorageVacuumParticipant.idl Bug 1813986 - Add an asyncVacuum() method to storage async connections, and let VacuumManager use it. r=asuth 2023-03-22 15:36:37 +00:00
mozIStorageValueArray.idl Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
mozStorageArgValueArray.cpp Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika 2022-09-28 15:17:46 +00:00
mozStorageArgValueArray.h
mozStorageAsyncStatement.cpp Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika 2022-09-28 15:17:46 +00:00
mozStorageAsyncStatement.h
mozStorageAsyncStatementExecution.cpp
mozStorageAsyncStatementExecution.h
mozStorageAsyncStatementJSHelper.cpp Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika 2022-09-28 15:17:46 +00:00
mozStorageAsyncStatementJSHelper.h
mozStorageAsyncStatementParams.cpp Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika 2022-09-28 15:17:46 +00:00
mozStorageAsyncStatementParams.h Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
mozStorageBindingParams.cpp
mozStorageBindingParams.h
mozStorageBindingParamsArray.cpp
mozStorageBindingParamsArray.h
mozStorageConnection.cpp Bug 1813986 - Add an asyncVacuum() method to storage async connections, and let VacuumManager use it. r=asuth 2023-03-22 15:36:37 +00:00
mozStorageConnection.h Bug 1813986 - Add an asyncVacuum() method to storage async connections, and let VacuumManager use it. r=asuth 2023-03-22 15:36:37 +00:00
mozStorageError.cpp
mozStorageError.h
mozStorageHelper.h
mozStoragePrivateHelpers.cpp
mozStoragePrivateHelpers.h Bug 1121282 - Allow use of thread pools for storage connections. r=asuth,dom-storage-reviewers,janv 2022-09-21 15:02:14 +00:00
mozStorageResultSet.cpp
mozStorageResultSet.h
mozStorageRow.cpp
mozStorageRow.h
mozStorageService.cpp Bug 1819535 - Extract quota related stuff from TelemetryVFS into standalone QuotaVFS; r=dom-storage-reviewers,mak,asuth 2023-03-07 14:27:07 +00:00
mozStorageService.h Bug 1819535 - Extract quota related stuff from TelemetryVFS into standalone QuotaVFS; r=dom-storage-reviewers,mak,asuth 2023-03-07 14:27:07 +00:00
mozStorageSQLFunctions.cpp
mozStorageSQLFunctions.h
mozStorageStatement.cpp Bug 1730547 - Return exact error instead of generic one. r=dom-storage-reviewers,jstutte 2023-01-10 17:16:17 +00:00
mozStorageStatement.h
mozStorageStatementData.h
mozStorageStatementJSHelper.cpp Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika 2022-09-28 15:17:46 +00:00
mozStorageStatementJSHelper.h
mozStorageStatementParams.cpp Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika 2022-09-28 15:17:46 +00:00
mozStorageStatementParams.h Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
mozStorageStatementRow.cpp Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika 2022-09-28 15:17:46 +00:00
mozStorageStatementRow.h Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
ObfuscatingVFS.cpp Bug 1810791 - Check SQLITE_IOERR_SHORT_READ against rc. r=dom-storage-reviewers,asuth,hsingh 2023-01-18 18:28:03 +00:00
QuotaVFS.cpp Bug 1781116 - QuotaManager needs to deal with SQLite path canonicalization/symlink piercing; r=asuth,dom-storage-reviewers 2023-03-07 15:56:51 +00:00
ReadOnlyNoLockVFS.cpp Bug 1801495 - Add a shim no-lock VFS that implements immutable behavior. r=asuth 2022-11-29 20:35:23 +00:00
SQLCollations.cpp
SQLCollations.h
SQLiteMutex.h
StatementCache.h
storage.h
StorageBaseStatementInternal.cpp Bug 1121282 - Allow use of thread pools for storage connections. r=asuth,dom-storage-reviewers,janv 2022-09-21 15:02:14 +00:00
StorageBaseStatementInternal.h
style.txt
TelemetryVFS.cpp Bug 1819535 - Extract quota related stuff from TelemetryVFS into standalone QuotaVFS; r=dom-storage-reviewers,mak,asuth 2023-03-07 14:27:07 +00:00
VacuumManager.cpp Bug 1813986 - Add an asyncVacuum() method to storage async connections, and let VacuumManager use it. r=asuth 2023-03-22 15:36:37 +00:00
VacuumManager.h
Variant_inl.h
Variant.cpp
Variant.h Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika 2022-09-28 15:17:46 +00:00
variantToSQLiteT_impl.h