I've a Redis cluster v7.x with 3 masters, each having 1 slave.
A function myFunction written in Lua scripting is loaded in all the 3 masters. The function doesn't need any keys, but some args.
Is it possible for the function to access a data structure, e.g. a SortedSet which is stored on another master node?
Alternatively, is it possible to direct the call to that node which hosts the targeted sorted set? I'm using ioredis library for node.js. The redis cluster IPs are not exposed to the client, but only a service name configured through the Kubernetes.
This is required because the call coming from various client might be redirected to any node and the function definition present there needs to access a specific data structure which may not be on the same node which is handling the client request.