Last Comment Bug 498802 - update names of production/stage graph servers
: update names of production/stage graph servers
Status: RESOLVED FIXED
Completed Thurs 07/02 7:30pm PDT
:
Product: mozilla.org Graveyard
Classification: Graveyard
Component: Server Operations (show other bugs)
: other
: x86 Mac OS X
: -- normal (vote)
: ---
Assigned To: Dave Miller [:justdave] (justdave@bugzilla.org)
: matthew zeier [:mrz]
:
Mentors:
Depends on:
Blocks: 487329
  Show dependency treegraph
 
Reported: 2009-06-16 19:05 PDT by alice nodelman [:alice] [:anode]
Modified: 2015-03-12 08:17 PDT (History)
1 user (show)
justdave: needs‑downtime+
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description alice nodelman [:alice] [:anode] 2009-06-16 19:05:06 PDT
Now that the new graph server is going to (slowly) become the only graph server we need to make the following changes:

rename:

graphs-stage.mozilla.org -> graphs-stage-old.mozilla.org
graphs-stage2.mozilla.org -> graphs-stage.mozilla.org

graphs.mozilla.org -> graphs-old.mozilla.org
graphs-new.mozilla.org -> graphs.mozilla.org

This should _only_ be done during a scheduled downtime and in concert with landing changes to continue correctly sending data from both talos and build machines.
Comment 1 matthew zeier [:mrz] 2009-06-18 13:54:55 PDT
Alice, sounds like a Post Fx3.5 job - agreed?
Comment 2 alice nodelman [:alice] [:anode] 2009-06-18 14:42:21 PDT
There's been talk about having a downtime soon that would allow for burnage on the tree... if that's true than we should be able to get this done before 3.5.  Otherwise we can sit on it.
Comment 3 Dave Miller [:justdave] (justdave@bugzilla.org) 2009-06-20 15:51:25 PDT
If you want, I can add names for graphs-stage-old and graphs-old NOW and then you can change submission names on the ones you want to keep in place to the "-old" version at your leisure prior to the actual switch, then we can just change which one the non-"old" version points at on the switchover day and the ones that are allowed to follow the name can just follow it.
Comment 4 Dave Miller [:justdave] (justdave@bugzilla.org) 2009-06-20 15:52:39 PDT
and then you could, at your leisure, switch the ones currently pointing at "-new" to point to the non-"new" version afterwards, since that name wouldn't immediately go away.
Comment 5 alice nodelman [:alice] [:anode] 2009-06-24 17:34:25 PDT
Once the switch happens would it be possible to have:

- all links to graphs-new go to graphs.m.o
- all links to graphs-stage2 go to graphs-stage.m.o

It would also be awesome if we could do some link hacking to save some other links:

- all links of the form graphs.m.o/#show go to graphs-old.m.o
- all links of the form graphs-stage.m.o/#show go to graphs-stage-old.m.o

Basically, the old link format contains the keyword 'show', and it would be nice if we could successfully redirect those links instead of breaking them.

How possible would this be?
Comment 6 Dave Miller [:justdave] (justdave@bugzilla.org) 2009-06-29 16:10:25 PDT
Anything after a # doesn't get sent to the server, it's all processed client side.  Only way to detect that would be with some javascript, which would make it an app-side thing to detect and refresh.
Comment 7 matthew zeier [:mrz] 2009-07-01 10:00:41 PDT
When can we do this?  Thursday?
Comment 8 Ryan Doherty (:rdoherty) 2009-07-01 14:51:25 PDT
Just added code to handle redirects in comment #5 :

http://hg.mozilla.org/graphs/rev/81472f2d69ed
Comment 9 Dave Miller [:justdave] (justdave@bugzilla.org) 2009-07-01 15:21:44 PDT
15:06:00 < alice> justdave: we're on for tomorrow evening
Comment 10 Dave Miller [:justdave] (justdave@bugzilla.org) 2009-07-02 19:30:15 PDT
This is done now.

Note You need to log in before you can comment on or make changes to this bug.