Dear hackers, Cluster.pm defines a function slot()which requires a slot_name as a key and returns attributes of the given slot, as a hash-ref. ISTM, the hash does not contain 'slot_name'.
However, I found that some codes access it by using a key 'slot_name'. ISTM it always becomes 'undef' thus any tests are meaningless. It looks like that existing codes want to check the existing of given logical slots. So, it is enough to search with key 'plugin'. The valid value is set if exists, otherwise ''. How do you think? Best regards, Hayato Kuroda FUJITSU LIMITED
0001-Fix-invalid-referring-of-hash-ref-for-replication-sl.patch
Description: 0001-Fix-invalid-referring-of-hash-ref-for-replication-sl.patch