Per the outcome of T292623: [SPIKE] Investigate getting global contribution information for IP Info [8H], we need to create a table to track the most recent edits by logged-out users.
- Seek approval from DBA before merging the ticket,
- Get DBA to +2 the patch,
- Make them run the maintenance script once in prod.
AC
- The ipinfo_ip_changes schema is defined in the codebase. The (MySQL) schema is as follows:
- ipc_id: bigint unsigned (required, automatically incrementing primary key)
- ipc_ip_hex: varbinary(35) (required)
- ipc_timestamp: binary(14) (required)
- index on ipc_ip_hex
- index on ipc_timestamp for purge performance - T292623#7516250
- Merge: https://gerrit.wikimedia.org/r/754806 (to be done by DBAs)
- Restart sanitarium hosts to apply the above filter (to be done by DBAs)
- The ipinfo_ip_changes table is created on all wikis that the extension is loaded on
Notes
- As of writing, the IPInfo extension is only loaded on the Beta Cluster