Open tk1114632 opened 4 years ago
You can disable cahce when you have multiple servers.
I tried to read all codes. Found that only the rank of client could be different in the situation I described. All stats of the client are still working well. I mean, it’s not a big issue, isn’t it?
Tried to read codes but still get confused a little.
Suppose I have 2 servers (A and B) running your plugin with "rankme_cache_rank = 1", using same MySQL database. Client X connected to Server A first, get some points, disconnected(update to MySQL), meanwhile there's no map change on Serve A, then he connects to Server B(no map change either), the client rank Server B gets is not a correct one, isn't it? Because Server B built a rank cache before Client X's points got updated. Now there's 2 issues: a. Rank of client X in Server B is not an updated one. This is obvious I suppose. b. If Client X get some more points in Server B and disconnect. His points in MySQL get wrongly updated, doesn't it?
Thank you in advance.