redis/redis-rb · error · NotImplementedError
NotImplementedError
Error message
NotImplementedError
What it means
Error "NotImplementedError" thrown in redis/redis-rb.
Source
Thrown at lib/redis/distributed.rb:114
# Remove all keys from the current database.
def flushdb
on_each_node :flushdb
end
# Get information and statistics about the server.
def info(cmd = nil)
on_each_node :info, cmd
end
# Get the UNIX time stamp of the last successful save to disk.
def lastsave
on_each_node :lastsave
end
# Listen for all requests received by the server in real time.
def monitor
raise NotImplementedError
end
# Synchronously save the dataset to disk.
def save
on_each_node :save
end
# Get server time: an UNIX timestamp and the elapsed microseconds in the current second.
def time
on_each_node :time
end
# Remove the expiration from a key.
def persist(key)
node_for(key).persist(key)
end
# Set a key's time to live in seconds.View on GitHub (pinned to 2ba9010b91)
Solutions
- Do not call this method on Redis::Distributed; it is not supported for sharded connections.
- Call the method on one of the underlying node connections instead, e.g. via Redis::Distributed#node_for or the nodes list.
When it happens
Trigger: Thrown at lib/redis/distributed.rb:114 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of redis/redis-rb@2ba9010b91 (2026-08-23).
Data as JSON: /api/errors/e9a462cc35f86152.
Report an issue: GitHub.