1. 26 Jul, 2017 1 commit
    • Eric Cano's avatar
      Fixed racy implementation of BackendRados::lock{Exclusive|Shared}() · aa56a1c3
      Eric Cano authored
      As rados re-creates an object when trying to lock it, we tested for presence before locking.
      This is racy as object could be deleted in the mean time.
      Instead, we now lock blindly and delete the object if we find it having a zero-size.
      As we own the lock, this is safe.
      
      This problem led to issues in garbage colector, where agent gets polled while it could disappear.
      aa56a1c3
  2. 23 May, 2017 1 commit
  3. 19 May, 2017 1 commit
    • Eric Cano's avatar
      Reviewed promised based thread synchronisation · 8012a02d
      Eric Cano authored
      Fixed calls to promise::get_future() after possible access form other thread. They are now guaranteed to happen before.
      Added helgrind annotations for promise based synchronisation.
      Added macros enabling helgrind annotations for shared_ptr.
      Added suppression for shared_ptr used inside other standard lib object and not covered by the previous macros.
      Added unit test for lower level .
      Added suppressions for reported race conditions in Rados library.
      Review heavily MemArchiveQueue and fixed missing commit in object store, leading to potentially orphaned objects.
      Enabled formerly disabled test as it is now fast enough.
      8012a02d
  4. 09 May, 2017 1 commit
  5. 28 Apr, 2017 2 commits
  6. 13 Apr, 2017 1 commit
  7. 02 Dec, 2016 1 commit
  8. 30 Nov, 2016 2 commits
  9. 18 Nov, 2015 1 commit
    • Eric Cano's avatar
      Replaced byte arrays with simple std::strings · b8b82fb5
      Eric Cano authored
      Added url style conversion of checksums
      Added support for checksums in mockNs
      Fixed support for checksums in the scheduler
      Re-instated several ASSERT_NO_THROW which were commented out during debugging.
      b8b82fb5
  10. 05 Nov, 2015 2 commits
  11. 04 Nov, 2015 1 commit
  12. 01 Jun, 2015 1 commit
  13. 28 May, 2015 1 commit
  14. 20 May, 2015 1 commit
  15. 13 May, 2015 1 commit
    • Eric Cano's avatar
      Reorganized the files in themes. · a5621a56
      Eric Cano authored
      middletier, itself separated in interface, SQLite, objectstore and
      shared tests.
      Moved all utilities (exceptions, threading...) to a shared utility
      directory.
      Created a single, shared unit test from all the scattered ones.
      a5621a56
  16. 08 May, 2015 1 commit
  17. 07 May, 2015 1 commit
  18. 29 Apr, 2015 1 commit
  19. 24 Feb, 2015 1 commit
  20. 12 Feb, 2015 1 commit