Conversation
oranagra
left a comment
There was a problem hiding this comment.
@hwware can you please have a closer look at info-cache implementation.
i think there documentation and/or code may be wrong.
specifically, this seems like dead code, maybe it meant to check <3:
if (c->argc < 2) goto numargserrand besides it looks like it's getting multiple arguments.
one other thing i'd like you to check, is when did any of these got introduced? maybe some of these existed since forever, and were not mentioned in the documentation on purpose (for being debug tools)?
also, i think we need to add a note about version compatibility (i.e. the myid will exist starting 6.2, but it may also be true for other additions).
for normal commands we already have a way to note that, but for sentinel we don't yet, and i suppose we need to come up with something.
|
Hello @oranagra , the command of |
|
I rather not mix Sentinel commands with Redis commands in the same table / index. For now, let's just try to improve the existing page. |
|
@oranagra I see, and that is a very good point.. I checked this when at the very beginning Salvatore's commit 78c6f7e#diff-4578785ae9106bc325486759f3f1eae0de1bf7c18af224a19d7c3146cc10b872R161 he mentioned the is-master-down-by-addr command in the doc, but later he removed it. Maybe the is-master-down-by-addr api is used for debugging purpose and Salvatore deliberatey removed it in the doc. |
|
looks like at some point Salvatore added a new sentinel doc that didn't include i see that: @itamarhaber maybe you can think of some old-timer that can shed more light on this? |
|
Regrettably, I can't think of someone like that. |
|
ok. so let's do what we think is right. |
|
@hwware do you want to give this a final push? I promise to merge 🤞 |
|
@itamarhaber give me some time to refresh my memory and push it, Thanks |
636f40f to
d3fd1cf
Compare
👷 Deploy request for redis-doc pending review.Visit the deploys page to approve it
|
|
@itamarhaber Updated, please take a look, Thanks |
|
|
there are some sentinel command missing in the sentinel doc. this PR adds these commands.