Opened 9 years ago

Closed 9 years ago

#305 closed enhancement (invalid)

Every module should subscribe the message of group 'Boss'

Reported by: zhanglikun Owned by: zhanglikun
Priority: low Milestone:
Component: configuration Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity:
Sub-Project: Feature Depending on Ticket:
Estimated Difficulty: 0.5 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

We had talked about this feature on jabber, now no module subscribe the message of group 'Boss', so when boss send out 'shutdown' command, nobody care about it(:)), so boss has to kill them one by one.

But it's easy to do it, just do it in the ModuleCCSession(). Plan left this ticket to Jelte.

Subtickets

Change History (4)

comment:1 Changed 9 years ago by zhanglikun

  • Estimated Difficulty changed from 0.0 to 0.5

comment:2 Changed 9 years ago by jelte

I disagree with this approach;

either bob should send a shutdown message to every specific module channel, or we should create a 'general' channel for these messages (GlobalBossCommands? or something); we don't want other modules to interfere with commands aimed at the Boss.

comment:3 Changed 9 years ago by zhanglikun

  • Owner changed from jelte to zhanglikun
  • Status changed from new to assigned

oh, after thinking, it's my mistake, the ticket should be renamed as "every module should handle the 'shutdown' command sent from boss or bindctl properly.", assign it to myself.

comment:4 Changed 9 years ago by zhanglikun

  • Resolution set to invalid
  • Status changed from assigned to closed

This ticket is invalid, when boss receive 'shutdown' command, boss process should resend the 'shutdown' command to other modules seperately. Currently, boss process can't do it(or say boss do it in wrong way), I have fixed it commit the code to trac #335, in r3080.

Note: See TracTickets for help on using tickets.