Page MenuHomePhabricator

Not all notifications displayed; oldest notification fluctuates
Closed, ResolvedPublic

Description

User 1234qwer1234qwer4 from ru.wikipedia reports that his notification is only partially displayed.
https://ru.wikipedia.org/w/index.php?title=%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:%D0%A4%D0%BE%D1%80%D1%83%D0%BC/%D0%92%D0%BE%D0%BF%D1%80%D0%BE%D1%81%D1%8B&oldid=77032295#.D0.A3.D0.B2.D0.B5.D0.B4.D0.BE.D0.BC.D0.BB.D0.B5.D0.BD.D0.B8.D1.8F
Notification that have been seen before and then periodically removed. User registered and received notification earlier than January.
2016-03-08 he saw the messages only after 2016-01-20 (it is at the end, after you press the big blue button at the bottom of special:notification)
2016-03-09 he saw the messages only after 2016-01-26
In settings/notification all the checkboxes for web-notifications are included and have not been changed

but here I tried 2016-03-10 to send him five consecutive ping-notifications
before the test. can be seen that the last date 2016-01-27

fullscreen002.png (912×1 px, 44 KB)

this is after. It can be seen that the last date 2016-01-11 - some notifications appeared
fullscreen003.png (913×1 px, 38 KB)

but after thanks-notification again another date 2016-01-13
fullscreen004.png (912×1 px, 39 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Sunpriat updated the task description. (Show Details)
Mattflaschen-WMF renamed this task from Partially displayed notification to Not all notifications displayed.Mar 11 2016, 4:17 PM

There is a cap on the number of notifications (2000). However, date should not matter. Also, I don't know why the oldest notification would go backwards from 2016-01-27 to 2016-01-11. If it's expiring normally, oldest notification should go strictly forward in time.

His user ID is 1206692. He currently has 300, much below the limit, so this needs investigation:

mysql:research@s2-analytics-slave [ruwiki]> SELECT user_id, user_name from user where user_name = '1234qwer1234qwer4';
+---------+-------------------+
| user_id | user_name         |
+---------+-------------------+
| 1206692 | 1234qwer1234qwer4 |

mysql:research@x1-analytics-slave [ruwiki]> SELECT COUNT(*) FROM echo_notification WHERE notification_user = 1206692;
+----------+
| COUNT(*) |
+----------+
|      300 |
+----------+
1 row in set (0.00 sec)
Mattflaschen-WMF renamed this task from Not all notifications displayed to Not all notifications displayed; oldest notification fluctuates.Mar 11 2016, 4:24 PM

Are all the notifications in question still in the database? I wonder if this might be a problem with the special page's pagination code or the JS for the More button or something.

With Special:Notifications page re-design (incl pagination) - it's difficult to investigate the issue.

I checked db for possible (and obvious) discrepancies - all seems to be in place.

I also have this problem in cswiki. My top number is 99 though I'm sure I became many different notifications since Echo first deployment (it seems similar thing is discussed at T123338 as well).

Update: my top number in cswiki is now 149. Moreover, I can no longer see arrows on Special:Notifications on Wikidata (there are only 50 last notifications).

I can't reproduce this, so perhaps this has been fixed?

kostajh claimed this task.
kostajh subscribed.

Closing per T129638#5883779

I can't reproduce this, so perhaps this has been fixed?

Seems so, but I don't see the first "welcome" notification.