Page MenuHomePhabricator

Schema change for per-notification seen-ness
Closed, DeclinedPublic

Description

Per discussion, this will be a boolean, rather than a timestamp like notification_read_timestamp.

TBD: Do we need an index on seen-ness, or can we do a slow-er query (but not that slow since the user can only have 2000 notifications) to populate the cache? Might depend on how it's cached.

Event Timeline

• Mattflaschen-WMF renamed this task from Schema change for per-notification seen time to Schema change for per-notification seen-ness.May 18 2016, 5:44 PM
• Mattflaschen-WMF updated the task description. (Show Details)

Change 289583 had a related patch set uploaded (by Mattflaschen):
Add notification_seen column to mark whether user saw that notification

https://gerrit.wikimedia.org/r/289583

@Catrope said we should wait until the schema change is deployed to merge it.

• Mattflaschen-WMF changed the task status from Open to Stalled.Aug 2 2016, 12:54 AM
• Mattflaschen-WMF removed • Mattflaschen-WMF as the assignee of this task.

This is pending the broader seen issue.

Change 289583 abandoned by Mattflaschen:
Add notification_seen column to mark whether user saw that notification

Reason:
The new product decision is to use a global seen time, rather a than per-notification seen time.

We are planning to remove this from production (it has been or will be included in a schema change request).

https://gerrit.wikimedia.org/r/289583

We decided not to do this.