Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incremental updates of data stored by reference #75

Open
1 task
tpendragon opened this issue Aug 22, 2024 · 0 comments
Open
1 task

Incremental updates of data stored by reference #75

tpendragon opened this issue Aug 22, 2024 · 0 comments

Comments

@tpendragon
Copy link
Contributor

tpendragon commented Aug 22, 2024

Hydrator should support incremental updates of dependent rows for Ephemera Folders

Acceptance Criteria

  • If a Genre is updated, every folder that uses that genre should rehydrate to include that genre's new information.

Technical Tips

To process a term, do a giant loop and process everything that uses that term.
To optimize this, you could only loop through the folders that are older than the term.
TODO: Add source_cache_order_record_id to keep track of where the cache_order came from.

When storing the hydrator cache entry, the timestamp in the cache_order should be the timestamp of the row that caused that creation - in this case, the genre update.

First Step

Talk about how to do this.

@hackartisan hackartisan changed the title Support incremental updates of dependent rows for Ephemera Folders Hydrator should support incremental updates of dependent rows for Ephemera Folders Aug 22, 2024
hackartisan added a commit that referenced this issue Sep 4, 2024
Co-authored-by: Eliot Jordan <[email protected]>
Co-authored-by: Shaun Ellis <[email protected]>
@tpendragon tpendragon assigned tpendragon and unassigned tpendragon Sep 24, 2024
@hackartisan hackartisan added this to the Stable Synchronization milestone Oct 23, 2024
@hackartisan hackartisan changed the title Hydrator should support incremental updates of dependent rows for Ephemera Folders Incremental updates of dependent data Oct 23, 2024
@hackartisan hackartisan changed the title Incremental updates of dependent data Incremental updates of data stored by reference Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants