wojciech.kapcia@tigase.net opened 7 years ago
|
|
TBH, it's primary function is to monitor active installations. So whatever you do with this, make sure it does still serve this primary function. :-) Right now, collecting information abut active installation is kind of awkward and very cumbersome. If you decide to work and improve on this, you can make it more straightforward. Maybe, we could redirect all these calls to some kind of HTTP API? The new version could have improved code which would directly call the HTTP API method and for all other versions we could make some sort of call forwarding with rewrite rule to point to the HTTP API method. However, it is not really that important. What is important and critical is, that we continue to collect information about active installations. |
|
There were a couple of problems:
What I've done:
%kobit - currently notifications are enabled and working, which may make people more aware about the mechanism and thus more prone to disable it (especially that it would generate notification on a weekly basis if it would detect new version) -- maybe tweaking the mechanism to generate notification only once for each new version or decreasing the notification frequency - let's say to 1/4th or 1/8th of the check frequency - would be better? |
|
Yes, good point to the last paragraph. I think the best would be for the Tigase to generate a notification only once when a new version is discovered, with the current weekly checking. I can be simple implementation, that it last notification/version data in memory only. So, every time it is restarted and discovers a new version of the server (after 1 week of running), it would send a notification to the admin about new version available. It would be ideal if a single notification is sent from a cluster installation, instead of a separate notification from each cluster node. |
|
I've added the implementation as above: the notification will be send only once per new version for the whole cluster. I've left original delay of 7 days so only "longer running" installations will check for newer version - should this be adjusted? I've also left checking on each nodes so we will get "pings" from all machines within cluster, so if they are behind LB of sorts we will get the count of the machines within cluster. |
|
All is good now. |
Type |
Bug
|
Priority |
Critical
|
Assignee | |
RedmineID |
5734
|
Version |
tigase-server-8.0.0
|
Spent time |
617h 30m
|
Artur, should this be updated? AFAIR this was also used somehow to monitor active installations but I'm not sure if it's valid anymore (marking as Private)