Closed pfrazee closed 8 years ago
(This is occurring on the latest build.)
this happened to me last week. I could see it was me that was missing from one thread. but also johnny.
On Mon, Dec 21, 2015 at 5:00 AM, Paul Frazee notifications@github.com wrote:
(This is occurring on the latest build.)
— Reply to this email directly or view it on GitHub https://github.com/ssbc/scuttlebot/issues/269#issuecomment-166131409.
@dominictarr is it possible this has to do with recent changes to replication, maybe the changes to the output of latestSequence
? Maybe old clients aren't working with it?
I wasnt able to find it on my pub, but I was able to reproduce this bug on my local device when I called getLatest
. I was using sbot 7.3.4, but had previously used 7.4.3 (I accidentally downgraded in some testing) which makes me think the lastDB
's updated schemas were causing the error for me. I'm still trying to locate why my pub is emitting the error.
slaps forehead this was a TOTAL MISDIRECTION. Here's the source of it: https://github.com/ssbc/scuttlebot/blob/master/plugins/invite.js#L43
Easy fix, remove the log and we're done.
I began to notice missing-message notices in my threads, which indicates that data is not being replicated evenly through the network. Some of my peers are receiving updates, and replying to them, whereas I am not.
It's possible they're conversing with a FoaF which is outside of my network. But, I sshed into my pub and noticed this was frequently happening in the logs:
That error output is the hard evidence of a bug. Since I havent confirmed yet why I'm missing those messages, I'm only suspicious that my missing messages relate to these error dumps.
We need to find where this is occurring and output better diagnostic information. If there's a bug, we should solve it as well.