Skip to content

Add RecordIndex data structure#1059

Merged
ellie merged 5 commits into
mainfrom
ellie/record-sync
Jun 19, 2023
Merged

Add RecordIndex data structure#1059
ellie merged 5 commits into
mainfrom
ellie/record-sync

Conversation

@ellie

@ellie ellie commented Jun 18, 2023

Copy link
Copy Markdown
Member

This allows us to compare two sets of record stores, and return a list of diffs.

With these diffs, we should be able to sync the two stores

I'll probably replace the diff tuple with an actual type once the sync process is there, but I'd like to see how it needs to be used first

This allows us to compare two sets of record stores, and return a list
of diffs.

With these diffs, we should be able to sync the two stores
@vercel

vercel Bot commented Jun 18, 2023

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
atuin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 19, 2023 7:59am

@ellie ellie force-pushed the ellie/record-sync branch from 4914dd9 to e825cb6 Compare June 18, 2023 17:15
@ellie ellie marked this pull request as ready for review June 18, 2023 17:15
@ellie ellie requested a review from conradludgate June 18, 2023 17:15
conradludgate
conradludgate previously approved these changes Jun 19, 2023

@conradludgate conradludgate left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not 100% sure how this fits into the bigger picture just yet, but the code seems fine (double hashmaps upset me but I don't know any other solutions)

Comment thread atuin-common/src/record.rs Outdated
Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
@ellie ellie force-pushed the ellie/record-sync branch from 06a9dcb to 4e32d69 Compare June 19, 2023 07:58
@ellie ellie merged commit 9558fec into main Jun 19, 2023
@ellie ellie deleted the ellie/record-sync branch June 19, 2023 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants