Commit Graph

610 Commits

Author SHA1 Message Date
kanoi
fc49abd0bb ckdb - force UTC+00 when writing to the DB 2014-08-07 03:59:26 +10:00
kanoi
9e3cf4e469 ckdb - update the db version to force anyone to ask me what needs to be done 2014-08-07 03:27:11 +10:00
kanoi
c2e54cae53 script to convert ckdb2014*log filenames to UTC 2014-08-07 03:25:32 +10:00
kanoi
9d97cff6b5 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-08-07 02:20:53 +10:00
kanoi
7698d1880b convert DB time to UTC correctly, make ckdbYYYYMMDDHH.log UTC and make time use it's own buffer 2014-08-07 02:19:58 +10:00
Con Kolivas
a40bbda19b Don't leak memory on server reconnect 2014-08-07 00:05:35 +10:00
Con Kolivas
ad75ab49d5 Avoid userpass deref 2014-08-06 23:42:12 +10:00
kanoi
7268672485 sql - reloadstatus.sql - show what the db reload status is 2014-08-06 19:07:38 +10:00
kanoi
0a9bb12571 ckdb - correct reload switch 2014-08-06 18:47:28 +10:00
kanoi
3eda6a4618 ckdb - userstats summarisation while reloading - crash reload on an unhandled command 2014-08-06 18:42:27 +10:00
kanoi
9891eff85b ckdb - update startup comments 2014-08-06 15:07:45 +10:00
kanoi
b0d99751bf ckdb - comment about reload CCLs and system clock 2014-08-06 14:59:35 +10:00
kanoi
2b3f618b63 ckdb - startup documentation to be implemented 2014-08-06 14:38:02 +10:00
kanoi
1df419158f ckdb - dont abort when reload completes 2014-08-06 13:00:46 +10:00
kanoi
a98eb7336a ckdb - define a MAXID useful for tree searching 2014-08-06 03:03:52 +10:00
kanoi
3e7a83c912 ckdb - correct begin date constant name 2014-08-06 00:37:26 +10:00
kanoi
0c308a926a ckdb - calculate most of workerstatus after data load 2014-08-05 22:47:56 +10:00
kanoi
5004f3081d ckdb - handle reload files and old format data 2014-08-05 20:34:37 +10:00
kanoi
2e7171cf84 ckdb - reload plus changes to handle createdate 2014-08-05 17:56:44 +10:00
kanoi
3e6fe0dde7 libckpool - make the rotating filename a separate function 2014-08-04 17:54:31 +10:00
kanoi
10a1a22a11 web - update last block 2014-08-04 17:14:28 +10:00
kanoi
651f8c5b77 ckdb - don't keep transactiontree in RAM 2014-08-04 14:22:58 +10:00
kanoi
72bf461fc1 ckdb - correct stats tree ram calculation 2014-08-04 12:52:05 +10:00
kanoi
f2c0014fe3 ckdb - add some tree/list stats 2014-08-04 12:31:23 +10:00
kanoi
8ba9a6abac Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-08-03 10:45:26 +10:00
kanoi
f456b5d433 ckdb - fix userstats summarisation and various code tidy ups 2014-08-03 10:44:44 +10:00
Con Kolivas
d253a97e79 Fix null txn hashes being passed to ckdb in proxy mode 2014-08-02 15:59:07 +10:00
Con Kolivas
eff11a1024 Avoid trying to send a message to ckdb if it's invalid json and identify where it came from 2014-08-02 15:50:55 +10:00
kanoi
90d06a696c ktree - add an optional message to put in the dump file 2014-08-02 15:44:55 +10:00
kanoi
ec1ed128a3 ktree - add a blank line between tree dumps 2014-08-02 15:27:33 +10:00
Con Kolivas
5fc1aa28a1 Add a throbber to the stratifier to show activity 2014-08-02 13:14:53 +10:00
Con Kolivas
fd45d582d4 Add messages for when each process is ready 2014-08-02 13:05:52 +10:00
Con Kolivas
973571c70c Only show queueing message to ckdb once and display resumed message 2014-08-02 12:47:22 +10:00
Con Kolivas
45d8774539 Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-08-02 12:36:30 +10:00
Con Kolivas
5d266a0faa Use cmdmatch in connector and ckpool 2014-08-02 12:36:19 +10:00
kanoi
bc0c43f84a ckdb - clarify userstats reload wording 2014-08-02 09:48:58 +10:00
kanoi
01f4cd9335 ckdb - v0.5 userstats chanegs and summarisation fixes 2014-08-02 00:53:10 +10:00
Con Kolivas
1e0c1b4e34 Don't use safecmp for blockupdate since a null buf can be passed on 2014-08-02 00:26:36 +10:00
kanoi
eb8d0919da Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-08-01 14:01:43 +10:00
kanoi
7be9d59d78 ckdb - use copy_tv instead of memcpy 2014-08-01 14:00:25 +10:00
Con Kolivas
f564714345 Poll more frequently when a client is not ready to be written to instead of waiting for it 2014-08-01 13:54:12 +10:00
Con Kolivas
5b2b4c73ef Remove all handling of interrupted calls which may have been blocking appropriate failure modes 2014-08-01 13:37:56 +10:00
Con Kolivas
dc3dd18e92 Add a slow 1s timedwait to ckmsg_queue parsing to not miss wakeups 2014-08-01 13:30:00 +10:00
Con Kolivas
fc1d956f37 Make a per-process logger allowing logging to be line buffered yet asynchronous 2014-08-01 13:14:03 +10:00
Con Kolivas
baacb6ed54 Convert the generator to use cmdmatch 2014-08-01 12:23:57 +10:00
Con Kolivas
772315e417 Use the cmdmatch function for commands in the stratifier 2014-08-01 12:20:18 +10:00
Con Kolivas
8dbc90fbaf Add a helper function for safely checking if a buffer matches a command 2014-08-01 12:20:09 +10:00
Con Kolivas
82313ce227 Use the safecmp function in the stratifier 2014-08-01 10:32:27 +10:00
Con Kolivas
2b86f9bde1 Add a safe strcmp helper function 2014-08-01 10:30:43 +10:00
Con Kolivas
cf51e5c14a Don't parse shares from now unauthorised clients 2014-08-01 09:53:51 +10:00