Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.
Josh Baker edited this page Oct 14, 2016 · 1 revision

FENCE token

A fencing token is simply a number that increases. It's guaranteed to be consistent across the cluster and can never be deleted or decremented. The value is a 64-bit unsigned integer. The first FENCE call will return "1".

Return value

Bulk string reply: the value of token.

Examples

> FENCE mytoken
"1"
> FENCE mytoken
"2"
> FENCE mytoken
"3"
Clone this wiki locally