mozilla-services/shavar

remove existing chunks for clients that are upgrading from the prototype server

Closed this issue · 2 comments

The chunk numbers in the prototype server are timestamps, so it would be safe to tell the client to delete chunks with numbers > 1000 and less than <10, and start with 11 or 100 as the initial chunk. I don't think we ever used chunk numbers > 4.

Continuing to use timestamps is probably a good idea as long as we use time_t rather than a date string representation. shavar will read the same file format that the node.js dev server does so it shouldn't be an issue.

This is working as intended.