Opened 7 years ago

Last modified 5 years ago

#2137 new enhancement

Store cached slave information in db

Reported by: tfogal Owned by:
Priority: minor Milestone: 0.9.+
Version: 0.8.5 Keywords: database


If you click a slave through the web interface, you get information on: current builds, recent builds, and connection status/information. If the slave is currently connected, you also get the information that the slave configured for "Administrator" and "Information", plus a graceful shutdown button.

I have lots of slaves and I keep them named based on OS type, and then keep the hostname or some hint to it in the slave information, so that when something goes wrong I know where to ssh and fix it. Unfortunately if "something wrong" == "the slave disconnects", I have a difficult time identifying where to go and fix the problem.

So: can the master please cache the "Administrator" and "Information" and display the last-known values, even when the slave is not connected?

Change History (5)

comment:1 follow-up: Changed 7 years ago by dustin

  • Keywords simple added
  • Milestone changed from undecided to 0.8.6

A runtime (memory) cache should be easy enough. Ideally this would go into the DB eventually.

Perhaps someone can work on this?

comment:2 in reply to: ↑ 1 Changed 6 years ago by tom.prince

After a slave has first connected, the admin and info is kept, even over reconfigs.

comment:3 Changed 6 years ago by tom.prince

  • Milestone changed from 0.8.6 to 0.8.+
  • Summary changed from Cache slave information on master to Store cached slave information in db

comment:4 Changed 6 years ago by dustin

  • Keywords database added
  • Milestone changed from 0.8.+ to 0.9.+

I think we'll end up adding a slaves table eventually (to get slave id's and stop replicating the slave name everywhere), which would be a good place to drop this info.

comment:5 Changed 5 years ago by dustin

  • Keywords simple removed
Note: See TracTickets for help on using tickets.