[sr-dev] git:4.2:4ae4e5f3: db_cluster: fix checking the capabilities for write operation with different priorities