Issue 122 in redis: BGREWRITEAOF instrumentation

4 views
Skip to first unread message

re...@googlecode.com

unread,
Dec 12, 2009, 3:51:59 PM12/12/09
to redi...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 122 by ryan.a.lowe: BGREWRITEAOF instrumentation
http://code.google.com/p/redis/issues/detail?id=122

%> telnet localhost 6379
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
BGREWRITEAOF
+OK

******

Great, it worked the file was made smaller, as expected... But I got
nothing except an +OK as a response. I'd like to know (at least)

1 - How long it took
2 - How many records were scanned
3 - How many records were purged



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

re...@googlecode.com

unread,
Dec 15, 2009, 4:17:15 AM12/15/09
to redi...@googlegroups.com
Updates:
Status: Accepted

Comment #1 on issue 122 by antirez: BGREWRITEAOF instrumentation
http://code.google.com/p/redis/issues/detail?id=122

Hello,

it's hard to provide 2 and 3 because actually the command will rebuild the
log file
starting from the dataset in memory, and not from what is in the file. But
given that
'1' is possible at least I started adding a new field to info telling you
if a
BGREWRITEAOF is in progress. So you can check every second if the log
rewriting
finished.

In Redis 1.3.x-unstable branch I want to add the time the last BGSAVE and
BGREWRITEAIO operation spent as two additional INFO fields.

re...@googlecode.com

unread,
Aug 23, 2010, 1:16:54 PM8/23/10
to redi...@googlegroups.com
Updates:
Status: WontFix

Comment #2 on issue 122 by antirez: BGREWRITEAOF instrumentation
http://code.google.com/p/redis/issues/detail?id=122

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages