ngmoco / cache-money

A Write-Through Cacheing Library for ActiveRecord
Apache License 2.0
161 stars 31 forks source link

"Indices can be corrupted if you do not plan accordingly." #10

Closed ghazel closed 13 years ago

ghazel commented 13 years ago

The "version" section of the documentation has an ominous "Indices can be corrupted if you do not plan accordingly." warning. How exactly should one plan accordingly? Couldn't the migration process be solved with some sort of locking, or simply with an entirely different versioned key namespace?

ashleym1972 commented 13 years ago

Probably. However, given that the author didn't finish all the TODOs I think it was a lot to ask of him to flush out the finer points of the design. Instead it's left to implementers to be wise with migrations, there are really only a few gotca's.