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

qrep: if the last sync is nil, check the table if there are new rows. #1667

Conversation

yasinzaehringer-paradime
Copy link
Contributor

this bug can prevent tables which are empty to be synced once they get data.

in general one has to be very careful here with nil pointer exceptions, I tried to navigate them to the best of my ability but this code path makes lots of assumptions about the state of the world.

this bug can prevent tables which are empty to be synced once they get data.
@iskakaushik iskakaushik merged commit 23a3ec6 into PeerDB-io:main May 7, 2024
4 of 6 checks passed
@serprex serprex mentioned this pull request May 7, 2024
serprex added a commit that referenced this pull request May 7, 2024
regression in #1667 that wasn't caught because CI doesn't work for external PRs
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.

3 participants