record channel size and message volume upon destruction
context
- we would like to test a hypothesis that large channels tend to have longer lifetimes (and learn a bit about how much they are used)
- this MR augments the
CHANNEL_DESTROYED
event to record metadata to allow us to study this question:
- (1) how many members did the channel have when destroyed? (admins + subscribers)
- (2) how many messages had been sent on the channel when it was destroyed? (broadcast in/out, command in/out)
- it will maintain the invariant that once destroyed, a channel's phone number is not known to our system