Skip to content
Snippets Groups Projects
  1. May 20, 2023
  2. May 18, 2023
  3. May 16, 2023
  4. May 12, 2023
  5. May 10, 2023
  6. Apr 11, 2023
  7. Apr 04, 2023
  8. Apr 03, 2023
  9. Apr 01, 2023
  10. Mar 31, 2023
  11. Mar 27, 2023
  12. Mar 21, 2023
    • Noemi Erli's avatar
      Backed out 2 changesets (bug 1813986) for causing build bustages in Logging.h · eac42508
      Noemi Erli authored
      Backed out changeset 14879c9b6b3c (bug 1813986)
      Backed out changeset d90fa56c73e5 (bug 1813986)
      eac42508
    • Marco Bonardo's avatar
      Bug 1813986 - Add an asyncVacuum() method to storage async connections, and... · daa6ee1e
      Marco Bonardo authored
      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
      daa6ee1e
  13. Mar 22, 2023
    • Marco Bonardo's avatar
      Bug 1813986 - Add an asyncVacuum() method to storage async connections, and... · f3e842d9
      Marco Bonardo authored
      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
      f3e842d9
  14. Mar 07, 2023
  15. Jan 18, 2023
  16. Jan 10, 2023
  17. Dec 23, 2022
  18. Dec 13, 2022
  19. Dec 12, 2022
  20. Nov 30, 2022
  21. Nov 29, 2022
    • Marco Bonardo's avatar
      Bug 1801495 - Add a shim no-lock VFS that implements immutable behavior. r=asuth · 2418374d
      Marco Bonardo authored
      When ignoreLockingMode option is used, we default to the unix-none or win32-none
      VFS, and enforce the connection to be read-only, because it's trivial to
      corrupt data using a no-lock VFS.
      Unfortunately read-only mode doesn't allow to open a WAL database if the journal
      files are missing, unless the device is marked as "immutable".
      There is no SQLITE_OPEN_* flag for immutable, and adding one could easily be
      misinterpreted since it only makes sense for read-only.
      
      This implement a readonly-immutable-nolock VFS shim on top of unix-none or
      win32-none that overrides device characteristics with immutable. When
      ignoreLockingMode option is specified, we use this VFS. It can only be used on
      read-only connections, as enforced both by Storage service and a MOZ_ASSERT.
      
      Differential Revision: https://phabricator.services.mozilla.com/D162492
      2418374d
  22. Nov 17, 2022
  23. Oct 27, 2022
  24. Oct 26, 2022
  25. Oct 25, 2022
  26. Oct 24, 2022
  27. Oct 19, 2022
  28. Oct 18, 2022
Loading