Sheet Data Retention Changes - OG Myth-Weavers

Notices


Sheet Data Retention Changes

 
Sheet Data Retention Changes

Our character sheets have become greatly popular, and I'm getting ready to deploy changes to allow users to go back & forth through character revision history. We have over 600,000 sheets, and with 5.3 million revisions for a whopping 50GB of sheet data.

Due to large amount of storage needed for sheets and their associated revisions, I'm having to make some changes to how we handle sheet revision history and what happens when someone deletes a sheet. The new setup is as follows.

Quote:
Saving a Character Sheet creates a new Revision, a snapshot of the sheet's data, and associates the Character Sheet to the Revision.
Saving is rate-limited to once per 10 seconds.

Cloning creates a new Character Sheet that becomes associated with the latest Revision of the parent Character Sheet. That Revision will have its reference count incremented.

Publishing creates a new Character Sheet that becomes associated with the latest Revision of the parent Character Sheet. That Revision will have its reference count incremented.

Users can delete a Character Sheet that they own, which sends it to their 'Trash'.

Character Sheets that have been in a deleted state in the 'Trash' for 1 month or longer will be permanently deleted. During deletion, any Revisions that the Character Sheet is associated with will have their reference count decremented appropriately.

On a regular basis, any Revision with a reference count of 0 will be permanently deleted.
Eventually I'll implement overall storage quotas, and a system to intelligently delete sheet revision history once the quota has been reached. I don't have any intention of making quotas 'hard' until they've been around for a while.

So does that mean if we don't revise the sheet it could be deleted? A lot of the time I keep up with variables in the forum I'm playing in my sheet only gets revised if I get a new peice of equipment in game or I level up

No. Only Revisions with no references to them are deleted. If you make a sheet and save it once, and then never touch it again, that revision will always have one reference to it.

Quote:
Originally Posted by Rodrigo View Post
No. Only Revisions with no references to them are deleted. If you make a sheet and save it once, and then never touch it again, that revision will always have one reference to it.
Thanks





Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Last Database Backup 2024-03-28 10:38:20am local time
Myth-Weavers Status