good morning!!!!

Skip to content
Snippets Groups Projects
  1. Nov 22, 2018
  2. Nov 21, 2018
  3. Nov 20, 2018
  4. Nov 19, 2018
  5. Nov 18, 2018
  6. Nov 16, 2018
  7. Nov 15, 2018
  8. Nov 14, 2018
  9. Nov 13, 2018
    • Ferenc Szabo's avatar
      swarm/storage: fix garbage collector index skew (#18080) · c41e1bd1
      Ferenc Szabo authored
      On file access LDBStore's tryAccessIdx() function created a faulty
      GC Index Data entry, because not indexing the ikey correctly.
      That caused the chunk addresses/hashes to start with '00' and the last
      two digits were dropped. => Incorrect chunk address.
      
      Besides the fix, the commit also contains a schema change which will
      run the CleanGCIndex() function to clean the GC index from erroneous
      entries.
      
      Note: CleanGCIndex() rebuilds the index from scratch which can take
      a really-really long time with a huge DB (possibly an hour).
      c41e1bd1
Loading