You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.
I've just pushed out a fix for this I think, I'm now just using a mongo upsert so it will know when to properly insert a tab or not, however, the duplicate tabs now exist in the database and will still be there.
I had to run a query to find out which were the suspects (86 of them in my database!)
db.tabs.aggregate({$group: {// Group by fields to match on (a,b)_id: {network: "$network",target: "$target"},// Count number of matching docs for the groupcount: {$sum: 1},// Save the _id for matching docsdocs: {$push: "$_id"}}},// Limit results to duplicates (more than 1 match) {$match: {count: {$gt : 1}}})
You can see in the results.docs arrays the duplicate tabs, I've just deleted all but one so their original tabs remain, there might be a way to do this automatically but my mongodb skills aren't the best.
Problem seems to be in 0.2 and latest dev versions. Happens when connecting to freenode or to our internal irc server.
The text was updated successfully, but these errors were encountered: