HWCloudEngine / hybrid_cloud

6 stars 12 forks source link

[Storage Gateway] Cache design and implementation #108

Open yinweiishere opened 7 years ago

yinweiishere commented 7 years ago

We need a cache mechanism to ensure the correctness of read. initialize: replayer; update: writer; consume: replayer; peek: read io handling

dsnlevi commented 7 years ago

status: implemented basic read cache framewok plan: optimize read cache code and test code consider read cache recover flow

dsnlevi commented 7 years ago

status: implemented basic cache recover flow fix read cache bug

plan: finish cache recover flow, and integrate it to journal replayer

dsnlevi commented 7 years ago

status: finish cache recover flow fix bug in cache

plan: test code, and verify data read consistency optimize code and work flow

dsnlevi commented 7 years ago

status: basically debug whole journal writer flow, find tgt consume cpu too high recode tgt plugin use epoll
plan: integerate test and debug read flow

dsnlevi commented 7 years ago

status: finish journal read and basic test plan: integerate with new communicate test and code refactor