metricq / hta

📚 Library for Hierarchical Timeline Aggregation metric storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consistency checks

tilsche opened this issue · comments

  • Make sure to only perform aligned writes
  • Ensure that all write sizes are checked
  • Write tests
  • Evaluate if checksums in the header make sense (length & checksum in header updated every so-and-so writes, dirty flag?)

This is even worse than I thought...

Paper/slides on the topic - unfortunately without NFS, but I guess it's probably worse...
https://www.usenix.org/sites/default/files/conference/protected-files/osdi14_slides_pillai.pdf
https://courses.cs.washington.edu/courses/cse551/15sp/papers/alice-osdi14.pdf

garbage during file-appends 😱
append->append (same file) reordering 😱

Tool
https://github.com/madthanu/alice