Microsoft team submits Redis patch to enable Windows support
1–10 of 103 posts
Re: Microsoft team submits Redis patch to enable Windows support
#2Re: Microsoft team submits Redis patch to enable Windows support
#3Does Redis still do that thing where it forks and the child writes its core to disk? How does that work under Windows, which doesn't have fork?
Finally, this is one big patch:
339 files changed, 146821 insertions(+), 290 deletions(-)
With many of the changes along the lines of: static void *callbackValDup(void *privdata, const void *src) {
- ((void) privdata);
redisCallback *dup = malloc(sizeof(*dup));
+ ((void) privdata);
memcpy(dup,src,sizeof(*dup));
return dup;
}
or - cmd = malloc(totlen+1);
+ cmd = (char*)malloc(totlen+1);
Eliminating compiler warnings is nice and whatever, but probably not the best thing to include in your "add major feature" patch.Re: Microsoft team submits Redis patch to enable Windows support
#4Re: Microsoft team submits Redis patch to enable Windows support
#5Re: Microsoft team submits Redis patch to enable Windows support
#6A patch file in a gist instead of a pull request? sigh
Re: Microsoft team submits Redis patch to enable Windows support
#7Re: Microsoft team submits Redis patch to enable Windows support
#8A patch file in a gist instead of a pull request? sigh
Re: Microsoft team submits Redis patch to enable Windows support
#9Embrace, extend, extinguish. Does Redis still do that thing where it forks and the child writes its core to disk? How does that work under Windows, which doesn't have fork? Finally, this is one big patch: 339 files changed, 146821 insertions(+), 290 deletions(-) With many of the changes along the lines of: static void *callbackValDup(void *privdata, const void *src) { - ((void) privdata); redisCallback *dup = malloc(…
TODO
Snapshotting (Fork and Write) is not perfect, right now we simply block requests while memory is dumped on disk. We are working on a solution that will give us better performance. An update will be released soon.Re: Microsoft team submits Redis patch to enable Windows support
#10Embrace, extend, extinguish. Does Redis still do that thing where it forks and the child writes its core to disk? How does that work under Windows, which doesn't have fork? Finally, this is one big patch: 339 files changed, 146821 insertions(+), 290 deletions(-) With many of the changes along the lines of: static void *callbackValDup(void *privdata, const void *src) { - ((void) privdata); redisCallback *dup = malloc(…