I'm trying to use the serializable isolation but i'm getting read/write dependencies error even if i have an unique index on the column used and the transactions are using different keys.
For an example see this gist:
Is this an expected behavior?