disable insert on secondary node