Skip to content

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

Merged
iskakaushik merged 1 commit into
PeerDB-io:mainfrom
yasinzaehringer-paradime:fix-qrep-empty-table-replication
May 7, 2024
Merged

qrep: if the last sync is nil, check the table if there are new rows.#1667
iskakaushik merged 1 commit into
PeerDB-io:mainfrom
yasinzaehringer-paradime:fix-qrep-empty-table-replication

Conversation

@yasinzaehringer-paradime

Copy link
Copy Markdown
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
@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