Skip to content
Snippets Groups Projects
  1. Apr 07, 2018
  2. Apr 06, 2018
    • Sean Young's avatar
      Remove iteration from cache · 5f252121
      Sean Young authored
      
      The IterateStorage and IterateAccounts methods are broken. They return
      entries accounts which have been removed, and entries which are in
      the cache are returned twice (from cache and backend).
      
      So remove iterability from the cache and solve these problems.
      
      Signed-off-by: default avatarSean Young <sean.young@monax.io>
      5f252121
    • Sean Young's avatar
      Fix locking issues in state cache · bf1675eb
      Sean Young authored
      
      In GetStorage() and get(), avoid potential concurrent duplicate backend
      calls for the same entry by taking a write lock. This does increase
      the time the cache is write locked.
      
      Also avoid leaving the cache locked in early exit from the iterate
      functions.
      
      Signed-off-by: default avatarSean Young <sean.young@monax.io>
      bf1675eb
  3. Apr 03, 2018
  4. Apr 02, 2018
  5. Mar 22, 2018
  6. Feb 27, 2018
  7. Feb 14, 2018
  8. Feb 11, 2018
  9. Jan 29, 2018
  10. Jan 25, 2018
  11. Jan 24, 2018
  12. Apr 11, 2017
  13. Apr 10, 2017
  14. Apr 04, 2017
  15. Mar 24, 2017
  16. Feb 22, 2017
  17. Feb 15, 2017
  18. Jul 15, 2016
  19. May 31, 2016
  20. May 27, 2016
  21. Mar 24, 2016
  22. Feb 13, 2016
  23. Dec 08, 2015
Loading