Skip to content

Make virtual chunk staleness check opt out #480

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

TomNicholas
Copy link
Member

@TomNicholas TomNicholas added the Icechunk 🧊 Relates to Icechunk library / spec label Mar 7, 2025
Comment on lines 332 to 335
# Icechunk checksums currently store with second precision, so we need to make sure
# the checksum_date is at least one second in the future
timestamp_checksum = datetime.now(timezone.utc) + timedelta(seconds=1)

Copy link
Member Author

Choose a reason for hiding this comment

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

@mpiannucci I feel like this +1 second business should be in the test, rather than in the business logic?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes I agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Icechunk 🧊 Relates to Icechunk library / spec
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Virtual chunk staleness check should be opt-out, not opt-in
2 participants