Download & Extend

Save less of the user object to save space

Project:Mongodb
Version:7.x-1.x-dev
Component:Watchdog
Category:task
Priority:normal
Assigned:douggreen
Status:closed (won't fix)

Issue Summary

When we display the watchdog record, the user object is passed to theme_username, and with the core implementation, all we really need is name (and maybe uid and maybe homepage). Attached patch saved user.uid and user.name, and then when loading tries to get the rest of the object, in-case theme_username needs it.

AttachmentSizeStatusTest resultOperations
mongolog-user.patch1.71 KBIgnored: Check issue status.NoneNone

Comments

#1

Rerolled, fixing bug with extra $account set.

AttachmentSizeStatusTest resultOperations
756124.patch3.9 KBIgnored: Check issue status.NoneNone

#2

Status:needs review» closed (won't fix)

chx has commented that he doesn't like this. While I like the disk/memory savings associated with this patch, I'm not going to argue it further.