- Nov 27, 2015
-
-
Michal 'vorner' Vaner authored
Don't mention the client ID before the ID is known. No functional change, just logging cleanup.
-
- Nov 25, 2015
-
-
Michal 'vorner' Vaner authored
Interminnent merge, to bring an improvement of the fwup plugin master for easy deploy (as this plugin is not out in the wild yet, there's nothing that would break by this merge).
-
Michal 'vorner' Vaner authored
-
- Nov 24, 2015
-
-
Michal 'vorner' Vaner authored
Configure the hash sizes of the sets in addition to maximum number of elements. Added to the DB, the master, docs and the plugin. Also, fixed a copy-pasted log message on the way.
-
Michal 'vorner' Vaner authored
Insert the right name into the known_plugins table when debug mode is requested.
-
- Nov 23, 2015
-
-
Michal 'vorner' Vaner authored
Check against duplicate addresses (added twice in a row or removed twice in a row).
-
- Nov 11, 2015
-
-
Michal 'vorner' Vaner authored
Fix after 60bef82d.
-
Michal 'vorner' Vaner authored
The count of activities per day may overflow the smallint because of still deployed bug in fake log submission buffering. Increase the data type size accordingly.
-
- Nov 10, 2015
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Don't let the client wait too long when it reconnects because of a broken connection.
-
Michal 'vorner' Vaner authored
Don't allocate additional memory in the trie if we are over the limit.
-
Michal 'vorner' Vaner authored
After reconnecting, either ignore the config update (if the config is the same we have) or wipe out the old config first to free the memory.
-
- Nov 09, 2015
-
-
Michal 'vorner' Vaner authored
Don't let the client wait too long when it reconnects because of a broken connection.
-
Michal 'vorner' Vaner authored
Don't allocate additional memory in the trie if we are over the limit.
-
- Nov 06, 2015
-
-
Michal 'vorner' Vaner authored
After reconnecting, either ignore the config update (if the config is the same we have) or wipe out the old config first to free the memory.
-
Jan Čermák authored
-
Michal 'vorner' Vaner authored
Otherwise, the errors might be overwritten or some other bad things may happen.
-
- Nov 05, 2015
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
We are using features of API version 2, so don't forget to increase it.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
- Nov 04, 2015
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Call a plugin's callback whenever a child terminates. Increases the API version, as there's an added callback in the structure.
-
Michal 'vorner' Vaner authored
If we mark them as explicitly rejected or dropped by an IPset from the server-side blacklists, then don't let it in. We don't need to test if the IP is attacker, we already know that.
-
Michal 'vorner' Vaner authored
Use „Fwup“, as this is automagically deduced by some auxiliary scripts. It is easier than hacking all these scripts.
-
Michal 'vorner' Vaner authored
This situation is rare, but actually can happen, because the client may reconnect/restart or join the group before it received the config. Just warn in such case instead of crashing and ignore the request (the server will be OK if it doesn't get the answer, it waits for a timeout anyway).
-
- Nov 02, 2015
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
When there's an exception during a looping call, don't abort future calls of the callback. In case of database error or something, we want to continue operating with the next attempt.
-
- Oct 30, 2015
-
-
Michal 'vorner' Vaner authored
-
- Oct 29, 2015
-
-
Michal 'vorner' Vaner authored
They help only a very little, but slow down the cache computation a lot.
-
Michal 'vorner' Vaner authored
Since TRUNCATE has the same problems as REFRESH MATERIALIZED VIEW.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Use a table & view to fill it with data instead of materialized view. It is similar in principle, but the table allows us to specify indices and updates concurrently, instead of locking the whole table.
-
Michal 'vorner' Vaner authored
-
- Oct 27, 2015
-
-
Michal 'vorner' Vaner authored
Wait until the DB starts accepting connections if it doesn't work at the beginning. Blocking.
-
Michal 'vorner' Vaner authored
Detect when a database connection dies and reinitialize it.
-
Michal 'vorner' Vaner authored
As it is supposed to be faster by dropping it, it shall release some resources in the server.
-
Michal 'vorner' Vaner authored
Recover from lost DB connection. Initialize a new one.
-
Michal 'vorner' Vaner authored
-