Forum: Building VoltDB Applications

Post: Retrieve Cluster ID from within stored procedure

Retrieve Cluster ID from within stored procedure
rosshaugh
Sep 30, 2015
Hi,

Is it possible to retrieve the Cluster ID of the current Volt instance from inside a stored procedure?

Thanks,

Ross
pzhao
Sep 30, 2015
Ross,
Are you looking for 'cluster id' in terms of DR in VoltDB v5.1+? I'd just like to clarify if this is actually what you are looking for. What are motivation for obtaining this information?
Peter Zhao
rosshaugh
Oct 1, 2015
Hey Peter.
That is correct, I am looking at VoltDB v5.1+. I am looking for the cluster ID that uniquely identifies each cluster in a DR setup. I would like to know if this can be retrieved programmatically from within a stored procedure? (i.e. getClusterID())
pzhao
Oct 6, 2015
rosshaugh,
Unfortunately, this is not possible at this time.
Peter Zhao