Eric Dziewa opened 1 decade ago
|
|
Looks to me like the code is not prepared to run in a cluster mode. The primary key conflict/duplication suggests that cluster nodes attempt to overwrite each other records. We need a code to record stats from each cluster node separately. So if we sum number of online users on all cluster nodes we get the total number of online users on the whole installation. |
|
This is important to fix as I have to handover license checker to our customer who already uses Tigase. |
|
There are two separate issues - first one is related to connectivity or accessing the resource:
Bottomline - licence checker has mechanism that prevents server from functioning if number of failed attempts to submit the data fails, given that source and target was the same machine tigase went down. The second issue is related to @CounterDataLogger@, which is relatively old one (#655, I can work on it) that we've been struggling. For tigase.org and remaining services the consensus was that for the moment we can relay on statistics provided by the license checker so this wasn't a priority. This issue is definitely not related to the shutdown / problems with checking licence. There are no collisions with statistics gather through the licence checking. |
|
Wojtek, thank you for all the explanation but to be honest I do not fully understand what is the status of this. Is the problem solved? I understand the problem with CounterDataLogger which is what I thought is happening, as this logger does not work correctly in a cluster mode yet. The main question is: do we have working code for the license checker? And of course we want this to be deployed on both tigase.org and tigase.im as a final test before we hand it over to a customer. By the way. Problems with tigase.org connectivity you describe sound like DNS service issues. You may try to use a different DNS server. I think we have our own DNS servers. |
|
Artur Hefczyc wrote:
Both nodes on tigase.org were updated to b3680. There were two main issues with the previous deployment:
I know it looks like that, but it happened only about 3-4 times on 2 different machines with different ISPs hence my ruling out DNS issue before. |
Type |
Bug
|
Priority |
Major
|
Assignee | |
RedmineID |
2269
|
Version |
tigase-server-7.0.0
|
Spent time |
49h 30m
|
I noticed t2 disconnected and software shutdown because of license checking error:
This was not happening on t6. I restarted the software on t2 and license checking error kept happening. I also noticed new errors on t6:
So I stopped the software and reverted to tigase-issue #5.3.0-SNAPSHOT-b3566.