Open Bug 1759355 Opened 3 years ago Updated 2 years ago

changing message counts in folderCache.json

Categories

(MailNews Core :: General, defect)

Thunderbird 99
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: lohner, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0

Steps to reproduce:

  • Working on trying to understand bug 1726319
  • Monitoring changes to folderCache.json to understand that bug
  • saw changing message counts in a folder that I didn't touch

Actual results:

---------------------------------------------------------------
Sun Mar 13 11:49:37 CET 2022
-rwxrwxrwx 1 nils nils 1922161 Mar 13 11:39 /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache-prev.json
-rwxrwxrwx 1 nils nils 1922164 Mar 13  2022 /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache.json
--- /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache-prev.json 2022-03-13 11:39:02.192670300 +0100
+++ /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache.json      2022-03-13 11:49:41.373934600 +0100
@@ -26362,21 +26362,21 @@
                "folderSize" : 235174523,
                "hierDelim" : 47,
                "lastSyncTimeInSec" : 0,
                "nextUID" : 526,
                "onlineName" : "folders/AAA",
                "pendingMsgs" : 0,
                "pendingUnreadMsgs" : 0,
                "serverRecent" : 0,
                "serverTotal" : 432,
                "serverUnseen" : 0,
-               "totalMsgs" : 0,
+               "totalMsgs" : 432,
                "totalUnreadMsgs" : 0
        },
Sun Mar 13 11:49:37 CET 2022
---------------------------------------------------------------
---------------------------------------------------------------
Sun Mar 13 11:54:44 CET 2022
-rwxrwxrwx 1 nils nils 1922164 Mar 13 11:49 /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache-prev.json
-rwxrwxrwx 1 nils nils 1922194 Mar 13  2022 /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache.json
--- /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache-prev.json 2022-03-13 11:49:45.196258100 +0100
+++ /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache.json      2022-03-13 11:54:48.272901100 +0100
@@ -26363,21 +26363,22 @@
                "hierDelim" : 47,
                "lastSyncTimeInSec" : 0,
                "nextUID" : 526,
                "onlineName" : "folders/AAA",
                "pendingMsgs" : 0,
                "pendingUnreadMsgs" : 0,
                "serverRecent" : 0,
                "serverTotal" : 432,
                "serverUnseen" : 0,
                "totalMsgs" : 432,
-               "totalUnreadMsgs" : 0
+               "totalUnreadMsgs" : 0,
+               "useServerRetention" : "1"
        },
Sun Mar 13 11:54:44 CET 2022
---------------------------------------------------------------
---------------------------------------------------------------
Sun Mar 13 12:38:46 CET 2022
-rwxrwxrwx 1 nils nils 1922194 Mar 13 12:29 /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache-prev.json
-rwxrwxrwx 1 nils nils 1922204 Mar 13  2022 /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache.json
--- /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache-prev.json 2022-03-13 12:29:42.008859600 +0100
+++ /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache.json      2022-03-13 12:38:49.543292800 +0100
@@ -26362,21 +26362,21 @@
                "folderSize" : 235174523,
                "hierDelim" : 47,
                "lastSyncTimeInSec" : 0,
                "nextUID" : 526,
                "onlineName" : "folders/AAA",
                "pendingMsgs" : 0,
                "pendingUnreadMsgs" : 0,
                "serverRecent" : 0,
                "serverTotal" : 432,
                "serverUnseen" : 0,
-               "totalMsgs" : 432,
+               "totalMsgs" : 0,
                "totalUnreadMsgs" : 0,
                "useServerRetention" : "1"
        },
Sun Mar 13 12:38:46 CET 2022
---------------------------------------------------------------

Another folder message count bouncing around, this one is related to what I'm seeing in bug 1726319

---------------------------------------------------------------
Sun Mar 13 12:38:46 CET 2022
-rwxrwxrwx 1 nils nils 1922194 Mar 13 12:29 /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache-prev.json
-rwxrwxrwx 1 nils nils 1922204 Mar 13  2022 /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache.json
--- /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache-prev.json	2022-03-13 12:29:42.008859600 +0100
+++ /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache.json	2022-03-13 12:38:49.543292800 +0100
@@ -25829,41 +25829,41 @@
 	"C:\\Users\\nilsb\\AppData\\Roaming\\Thunderbird\\Profiles\\gmlraczj.default-beta\\ImapMail\\bsdmail.dynils.net\\folders.sbd\\work.sbd\\networks.sbd\\BBB.msf" : 
 	{
 		"LastPurgeTime" : null,
-		"MRUTime" : "1647025803",
+		"MRUTime" : "1647171500",
 		"aclFlags" : 0,
 		"applyIncomingFilters" : null,
 		"applyIncomingFilters.empty" : null,
 		"boxFlags" : 262208,
 		"dobayes.mailnews@mozilla.org#junk" : null,
 		"dobayes.mailnews@mozilla.org#junk.empty" : null,
 		"expungedBytes" : 0,
 		"flags" : 532484,
 		"folderSize" : 52414574,
 		"hierDelim" : 46,
 		"lastSyncTimeInSec" : 0,
 		"nextUID" : 4200,
 		"onlineName" : "folders.work.networks.BBB",
 		"pendingMsgs" : 0,
 		"pendingUnreadMsgs" : 0,
 		"serverRecent" : 0,
 		"serverTotal" : 1672,
-		"serverUnseen" : 4,
-		"totalMsgs" : 0,
-		"totalUnreadMsgs" : 0,
+		"serverUnseen" : 1665,
+		"totalMsgs" : 1672,
+		"totalUnreadMsgs" : 4,
 		"useServerRetention" : "1"
 	},
Sun Mar 13 12:38:46 CET 2022
---------------------------------------------------------------
---------------------------------------------------------------
Sun Mar 13 12:49:37 CET 2022
-rwxrwxrwx 1 nils nils 1922205 Mar 13 12:39 /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache-prev.json
-rwxrwxrwx 1 nils nils 1922200 Mar 13  2022 /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache.json
--- /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache-prev.json	2022-03-13 12:39:51.872049900 +0100
+++ /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache.json	2022-03-13 12:49:42.104536900 +0100
@@ -25847,21 +25847,21 @@
 		"flags" : 532484,
 		"folderSize" : 52414574,
 		"hierDelim" : 46,
 		"lastSyncTimeInSec" : 0,
 		"nextUID" : 4200,
 		"onlineName" : "folders.work.networks.BBB",
 		"pendingMsgs" : 0,
 		"pendingUnreadMsgs" : 0,
 		"serverRecent" : 0,
 		"serverTotal" : 1672,
-		"serverUnseen" : 1665,
+		"serverUnseen" : 4,
 		"totalMsgs" : 1672,
 		"totalUnreadMsgs" : 4,
 		"useServerRetention" : "1"
 	},
Sun Mar 13 12:49:37 CET 2022
---------------------------------------------------------------

Additional info, I'm running TB99b1 on Win11, the AAA folder is on an outlook.office365.com account, the BBB folder is on a dovecot server on freeBSD, so this issue is mailserver independent.

...and in the AAA folder they're gone again

---------------------------------------------------------------
Sun Mar 13 13:39:32 CET 2022
-rwxrwxrwx 1 nils nils 1922198 Mar 13 13:36 /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache-prev.json
-rwxrwxrwx 1 nils nils 1922194 Mar 13  2022 /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache.json
--- /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache-prev.json 2022-03-13 13:36:36.991138500 +0100
+++ /mnt/c/Users/nilsb/AppData/Roaming/Thunderbird/Profiles/gmlraczj.default-beta/folderCache.json      2022-03-13 13:39:39.765258200 +0100
@@ -26362,21 +26362,21 @@
                "folderSize" : 232602943,
                "hierDelim" : 47,
                "lastSyncTimeInSec" : 0,
                "nextUID" : 526,
                "onlineName" : "folders/AAA",
                "pendingMsgs" : 0,
                "pendingUnreadMsgs" : 0,
                "serverRecent" : 0,
                "serverTotal" : 432,
                "serverUnseen" : 0,
-               "totalMsgs" : 432,
+               "totalMsgs" : 0,
                "totalUnreadMsgs" : 0,
                "useServerRetention" : "1"
        },
Sun Mar 13 13:39:32 CET 2022
---------------------------------------------------------------
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: