code: public synchronized void registerPrimarySsId(String address, Long ssid)
        throws IOException {
      String node = getSsIdNode(address);
      zkCreateRecursively(node, SerializableUtils.toBytes(ssid), true,
          ssid.toString());
    }
docs: Creates a node in zookeeper denoting the current session id of the primary
  avatarnode of the cluster. The primary avatarnode always syncs this
  information to zookeeper when it starts.
  
  @param address
  the address of the cluster, used to create the path name for the
  znode
  @param ssid
  the session id of the primary avatarnode
  @throws IOException