8000 Replaced `LDAP.STATUS` command by INFO section by rjd15372 · Pull Request #35 · valkey-io/valkey-ldap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Replaced LDAP.STATUS command by INFO section #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2025

Conversation

rjd15372
Copy link
Member
@rjd15372 rjd15372 commented Jun 5, 2025

In this commit we remove the LDAP.STATUS in favor of adding a new section to the INFO command to show the same information about the LDAP servers' connection health.

The new section is named ldap_status and it's content is a set of dictionaries, one per LDAP server, and in each dictionary, we have the url, status, ping_time, and error fields.

Example of the output:

 > INFO ldap
 # ldap_status
 ldap_server_0:url=ldap://ldap,status=unhealthy,error=LDAP connection failure: op send error: channel closed
 ldap_server_1:url=ldap://ldap-2,status=healthy,ping_time(ms)=1.645

In this commit we remove the `LDAP.STATUS` in favor of adding a new
section to the `INFO` command to show the same information about the
LDAP servers' connection health.

The new section is named `ldap_status` and it's content is a set of
dictionaries, one per LDAP server, and in each dictionary, we have the
`url`, `status`, `ping_time`, and `error` fields.

Example of the output:

```
 > INFO ldap
 # ldap_status
 
81CD
ldap_server_0:url=ldap://ldap,status=unhealthy,error=LDAP connection failure: op send error: channel closed
 ldap_server_1:url=ldap://ldap-2,status=healthy,ping_time(ms)=1.645
```

Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
@rjd15372 rjd15372 added this to the 1.0.0 milestone Jun 5, 2025
@rjd15372 rjd15372 added the enhancement New feature or request label Jun 5, 2025
@rjd15372 rjd15372 merged commit c905c8a into valkey-io:main Jun 5, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0