Commit Graph

  • 0101386afe redis-trib: better slots allocation strategy for resharding antirez 2011-09-30 18:41:25 +02:00
  • 6c0047c430 redis-trib: better slots allocation strategy for resharding antirez 2011-09-30 18:41:25 +02:00
  • 76fb2ba03d redis-trib: initial slots allocation strategy, still to improve for better balancing when there are just a few slots to move. antirez 2011-09-30 18:28:51 +02:00
  • 841cd7684c redis-trib: initial slots allocation strategy, still to improve for better balancing when there are just a few slots to move. antirez 2011-09-30 18:28:51 +02:00
  • da1044c890 redis-trib: reshard command work in progress antirez 2011-09-29 16:06:49 +02:00
  • 85b514d165 redis-trib: reshard command work in progress antirez 2011-09-29 16:06:49 +02:00
  • 7b7ca05bbd redis-trib: minor refactoring creating a method to load the cluster information starting from a single node antirez 2011-09-29 15:45:10 +02:00
  • 9514aa3251 redis-trib: minor refactoring creating a method to load the cluster information starting from a single node antirez 2011-09-29 15:45:10 +02:00
  • f8a5bb158f redis-trib: don't crash loading node info for nodes without assigned slots antirez 2011-09-29 15:31:02 +02:00
  • 5d8f25da36 redis-trib: don't crash loading node info for nodes without assigned slots antirez 2011-09-29 15:31:02 +02:00
  • 1bec2c3634 added comment about SETSLOT NODE form. antirez 2011-09-29 15:26:01 +02:00
  • 3b5289a04c added comment about SETSLOT NODE form. antirez 2011-09-29 15:26:01 +02:00
  • fd9f590e2f Fixed command table for RESTORE to make it accepting keys only for the right slots when cluster is enabled. antirez 2011-09-29 15:14:06 +02:00
  • 7afc3a9611 Fixed command table for RESTORE to make it accepting keys only for the right slots when cluster is enabled. antirez 2011-09-29 15:14:06 +02:00
  • 0c464a8087 redis-trib: added cluster state to node info string antirez 2011-09-29 15:04:23 +02:00
  • d7021b081b redis-trib: added cluster state to node info string antirez 2011-09-29 15:04:23 +02:00
  • d783732be5 redis-trib: all node information into a single hash antirez 2011-09-29 14:44:15 +02:00
  • 92dd76c8ee redis-trib: all node information into a single hash antirez 2011-09-29 14:44:15 +02:00
  • 6ad5367a23 redis-trib: when loading node info also fetch the output of CLUSTER INFO. antirez 2011-09-29 13:18:09 +02:00
  • b08c9dd280 redis-trib: when loading node info also fetch the output of CLUSTER INFO. antirez 2011-09-29 13:18:09 +02:00
  • 1fbfc721f0 redis-trib cluster check command: check that all the 4096 slots are covered antirez 2011-09-29 12:50:46 +02:00
  • f639f99180 redis-trib cluster check command: check that all the 4096 slots are covered antirez 2011-09-29 12:50:46 +02:00
  • 9641edf1b4 Compilation fixed on OpenBSD making sure that _XOPEN_SOURCE is set to 700 in fmacros.h antirez 2011-09-29 10:20:03 +02:00
  • 0cae060a26 Compilation fixed on OpenBSD making sure that _XOPEN_SOURCE is set to 700 in fmacros.h antirez 2011-09-29 10:20:03 +02:00
  • 58f345e77d initial node loading info code for redis-trib antirez 2011-09-28 19:08:35 +02:00
  • d3f7fbfc09 initial node loading info code for redis-trib antirez 2011-09-28 19:08:35 +02:00
  • 0ff23b8ab3 show node with myself flag always as connected in CLUSTER NODES output. antirez 2011-09-28 18:28:36 +02:00
  • 1ef8b0a96d show node with myself flag always as connected in CLUSTER NODES output. antirez 2011-09-28 18:28:36 +02:00
  • 009fb14fa9 cluster config file entries added to the example configuration file antirez 2011-09-28 15:55:52 +02:00
  • 07c152a7bd cluster config file entries added to the example configuration file antirez 2011-09-28 15:55:52 +02:00
  • 8f4045ff11 Scripting engine now only loads selected libraries, using code originally contributed by @loopole. antirez 2011-09-27 18:46:23 +02:00
  • 002d5626e0 Scripting engine now only loads selected libraries, using code originally contributed by @loopole. antirez 2011-09-27 18:46:23 +02:00
  • e63dad0a25 a few entries removed from the old TODO list (done) antirez 2011-09-27 16:07:38 +02:00
  • 882b65ceaf a few entries removed from the old TODO list (done) antirez 2011-09-27 16:07:38 +02:00
  • 7dcafc2bd5 new tests for the scripting engine: not allowed commands and write commands after random commands. antirez 2011-09-27 15:39:41 +02:00
  • 7864ef8551 new tests for the scripting engine: not allowed commands and write commands after random commands. antirez 2011-09-27 15:39:41 +02:00
  • dec78a35a5 Return errors if a write command is called inside a Lua script after a random command was called. See https://github.com/antirez/redis/issues/95 for more information. antirez 2011-09-27 15:30:31 +02:00
  • 9f772cc237 Return errors if a write command is called inside a Lua script after a random command was called. See https://github.com/antirez/redis/issues/95 for more information. antirez 2011-09-27 15:30:31 +02:00
  • cd80380f20 Deny commands flagged as REDIS_CMD_NOSCRIPT from Lua scripts antirez 2011-09-27 13:57:10 +02:00
  • 15ef605340 Deny commands flagged as REDIS_CMD_NOSCRIPT from Lua scripts antirez 2011-09-27 13:57:10 +02:00
  • 2c4d7c157d added the NOSCRIPT and RANDOM command flags antirez 2011-09-27 13:45:46 +02:00
  • b60ed6e812 added the NOSCRIPT and RANDOM command flags antirez 2011-09-27 13:45:46 +02:00
  • b84f94b1eb command table refactoring to make it simpler adding new flags antirez 2011-09-26 15:40:39 +02:00
  • 5d02b00f56 command table refactoring to make it simpler adding new flags antirez 2011-09-26 15:40:39 +02:00
  • 66b7c21fc7 Lua math.random and math.randomseed replaced with our own version based on redisSrand48(). Seed initialized to the same value at every EVAL/EVALSHA call. antirez 2011-09-23 15:40:58 +02:00
  • e108bab043 Lua math.random and math.randomseed replaced with our own version based on redisSrand48(). Seed initialized to the same value at every EVAL/EVALSHA call. antirez 2011-09-23 15:40:58 +02:00
  • 3ccc3570c2 Defined macro with bigger number that redisLrand48() can output. antirez 2011-09-23 15:06:07 +02:00
  • 69786b262d Defined macro with bigger number that redisLrand48() can output. antirez 2011-09-23 15:06:07 +02:00
  • 148e45be5b libc neutral random function derived from a drand48() implementation added. Will be used to replace Lua's math.random implementation. antirez 2011-09-23 14:51:48 +02:00
  • cbdac04a5e libc neutral random function derived from a drand48() implementation added. Will be used to replace Lua's math.random implementation. antirez 2011-09-23 14:51:48 +02:00
  • 3ad12623d4 rioInitWithFile nad rioInitWithBuffer functions now take a rio structure pointer to avoid copying a structure to return value to the caller. antirez 2011-09-22 16:00:40 +02:00
  • f96a8a8054 rioInitWithFile nad rioInitWithBuffer functions now take a rio structure pointer to avoid copying a structure to return value to the caller. antirez 2011-09-22 16:00:40 +02:00
  • 596ac8715e make sure to return just 1 for rio.c write when the target is a buffer, as we do when the target is a file. antirez 2011-09-22 15:54:08 +02:00
  • 69cecb511f make sure to return just 1 for rio.c write when the target is a buffer, as we do when the target is a file. antirez 2011-09-22 15:54:08 +02:00
  • 06c356d912 comment on top of the _rio structure modified for correctness as actually fwrite/fread semantics is different in general, but was 0/1 in our old usage before rio.c as we always used 1 as number items, and the actual number of bytes to read as item length. antirez 2011-09-22 15:47:48 +02:00
  • 4c0462972e comment on top of the _rio structure modified for correctness as actually fwrite/fread semantics is different in general, but was 0/1 in our old usage before rio.c as we always used 1 as number items, and the actual number of bytes to read as item length. antirez 2011-09-22 15:47:48 +02:00
  • dbdf74ddfd merge conflicts resolved antirez 2011-09-22 15:15:26 +02:00
  • f9c6f39b2b merge conflicts resolved antirez 2011-09-22 15:15:26 +02:00
  • bcbb91e6e3 Merge pull request #97 from jvain/redis-cli Salvatore Sanfilippo 2011-09-21 13:32:24 -07:00
  • 7c748c061e Merge pull request #97 from jvain/redis-cli Salvatore Sanfilippo 2011-09-21 13:32:24 -07:00
  • 2d52506bc2 fixed a small bug that caused redis-cli to segfault when given single numeric parameter greater that zero. Juri M. Vainonen 2011-09-21 23:22:14 +03:00
  • aee7f99760 fixed a small bug that caused redis-cli to segfault when given single numeric parameter greater that zero. Juri M. Vainonen 2011-09-21 23:22:14 +03:00
  • 7b256eac36 TODO updated antirez 2011-09-21 19:13:43 +02:00
  • 5833cf1676 TODO updated antirez 2011-09-21 19:13:43 +02:00
  • 3ebbe97fbe TODO updated after moving more things into the github issues system antirez 2011-09-20 15:34:49 +02:00
  • 0e793fbe84 TODO updated after moving more things into the github issues system antirez 2011-09-20 15:34:49 +02:00
  • 93fb2efb38 TODO updated antirez 2011-09-20 14:50:01 +02:00
  • 29177b4d08 TODO updated antirez 2011-09-20 14:50:01 +02:00
  • 35e2a995e4 no longer valid design documents removed antirez 2011-09-20 11:15:55 +02:00
  • 2e5e29815f no longer valid design documents removed antirez 2011-09-20 11:15:55 +02:00
  • cdb2ea2d52 Merge pull request #72 from datafueled/spelling Salvatore Sanfilippo 2011-09-20 02:12:14 -07:00
  • 0ace6ce463 Merge pull request #72 from datafueled/spelling Salvatore Sanfilippo 2011-09-20 02:12:14 -07:00
  • 660c6f5e69 Merge pull request #78 from vambo/patch-1 Salvatore Sanfilippo 2011-09-20 02:00:58 -07:00
  • ac1f6fd07a Merge pull request #78 from vambo/patch-1 Salvatore Sanfilippo 2011-09-20 02:00:58 -07:00
  • d5df7a7666 Merge pull request #79 from annulen/mac_ppc Salvatore Sanfilippo 2011-09-20 01:58:55 -07:00
  • 5bae401107 Merge pull request #79 from annulen/mac_ppc Salvatore Sanfilippo 2011-09-20 01:58:55 -07:00
  • 46f20e7917 Merge pull request #74 from kmerenkov/issue_620 Salvatore Sanfilippo 2011-09-20 01:55:34 -07:00
  • 18be93e0a4 Merge pull request #74 from kmerenkov/issue_620 Salvatore Sanfilippo 2011-09-20 01:55:34 -07:00
  • 1fb3f7ad07 Include port number in error when can't bind lisetning port on startup. antirez 2011-09-20 10:48:21 +02:00
  • eef17490d4 Include port number in error when can't bind lisetning port on startup. antirez 2011-09-20 10:48:21 +02:00
  • 9f50eaa47a Fixed comment typo antirez 2011-09-19 17:49:50 +02:00
  • e7aec180e8 Fixed comment typo antirez 2011-09-19 17:49:50 +02:00
  • 0a551df576 Comment out things in bio.c that are currently not useful but that may be useful in the future. antirez 2011-09-19 17:06:27 +02:00
  • 47e7f9acbd Comment out things in bio.c that are currently not useful but that may be useful in the future. antirez 2011-09-19 17:06:27 +02:00
  • d8c0b536b4 Emit a log message when AOF fsync is still in progress but we are forced to write from the main thread since two seconds already elapsed. antirez 2011-09-19 16:52:13 +02:00
  • 77ca5fcba6 Emit a log message when AOF fsync is still in progress but we are forced to write from the main thread since two seconds already elapsed. antirez 2011-09-19 16:52:13 +02:00
  • 918e80a29c use aof_fsync wrapper instead of fsync(2) in bio.c antirez 2011-09-16 15:53:01 +02:00
  • a60b397b6d use aof_fsync wrapper instead of fsync(2) in bio.c antirez 2011-09-16 15:53:01 +02:00
  • fdd6486178 Merge remote-tracking branch 'origin/unstable' into bg-aof-2 antirez 2011-09-16 15:44:14 +02:00
  • 37183f14e4 Merge remote-tracking branch 'origin/unstable' into bg-aof-2 antirez 2011-09-16 15:44:14 +02:00
  • ee7e838830 commenting out aof-race test for now, waiting for a fix to issue #80 antirez 2011-09-16 15:43:03 +02:00
  • dcdfd005a0 commenting out aof-race test for now, waiting for a fix to issue #80 antirez 2011-09-16 15:43:03 +02:00
  • 71d6796fd9 Merge remote-tracking branch 'origin/unstable' into bg-aof-2 antirez 2011-09-16 12:36:33 +02:00
  • af4707a80c Merge remote-tracking branch 'origin/unstable' into bg-aof-2 antirez 2011-09-16 12:36:33 +02:00
  • 07978ceb03 fixed flushAppendOnlyFile() function prototype to reflect the new implementation, fixing compilation. antirez 2011-09-16 12:36:17 +02:00
  • a3fcd6bc21 fixed flushAppendOnlyFile() function prototype to reflect the new implementation, fixing compilation. antirez 2011-09-16 12:36:17 +02:00
  • 5d02f830e6 postpone the AOF fsync if policy is everysec and there is a background fsync already going. antirez 2011-09-16 12:35:12 +02:00
  • db3c2a4fb4 postpone the AOF fsync if policy is everysec and there is a background fsync already going. antirez 2011-09-16 12:35:12 +02:00
  • fa1876d48d Fixed typo preventing compilation antirez 2011-09-16 12:11:48 +02:00
  • 9a35eb22bf Fixed typo preventing compilation antirez 2011-09-16 12:11:48 +02:00