0.10 Your relay list events are not being applied properly #719

Closed
opened 2024-04-17 14:36:22 +12:00 by mikedilger · 2 comments
mikedilger commented 2024-04-17 14:36:22 +12:00 (Migrated from github.com)

Maybe we have a 1-month window somewhere? These are replaceable so there should be no since.

Dunno why, but it had local data from Mar 25 but remote was Feb 11 (there is a Mar 28 event that supercedes this that was not fetched).

Blocking 0.10 release.

Maybe we have a 1-month window somewhere? These are replaceable so there should be no since. Dunno why, but it had local data from Mar 25 but remote was Feb 11 (there is a Mar 28 event that supercedes this that was not fetched). Blocking 0.10 release.
mikedilger commented 2024-04-18 07:58:33 +12:00 (Migrated from github.com)

This looks like it is because it has old relays. So the real problem is that relay lists are not being applied properly.

This looks like it is because it has old relays. So the real problem is that relay lists are not being applied properly.
mikedilger commented 2024-04-18 09:17:35 +12:00 (Migrated from github.com)

Ok so the problem was a transaction thing. We were clearing bits in a write transaction, and reading relays back in a separate read transaction that was getting the pre-bit-cleared version of the relay.

Fixed.

Ok so the problem was a transaction thing. We were clearing bits in a write transaction, and reading relays back in a separate read transaction that was getting the pre-bit-cleared version of the relay. Fixed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nostr/gossip#719
No description provided.