"channel.ctx.nsqd.Notify(c)" should after "t.channelMap[channelName] = channel", otherwise perhaps it will not update channel to disk. [ c.nsqd.Notify(c, !c.ephemeral)](https://github.com/nsqio/nsq/blob/3103474b6c5afe8feca0a598797e82c06ed726e3/nsqd/channel.go#L136) https://github.com/nsqio/nsq/blob/3103474b6c5afe8feca0a598797e82c06ed726e3/nsqd/topic.go#L125