This can make it easier to see what daemon is committing transactions.
Sometimes, in OVN especially, it can be hard to guess.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Dumitru Ceara <dceara@redhat.com>
|| ovsdb_idl_get_seqno(loop->idl) == loop->skip_seqno
? NULL
: ovsdb_idl_txn_create(loop->idl));
+ if (loop->open_txn) {
+ ovsdb_idl_txn_add_comment(loop->open_txn, "%s", program_name);
+ }
return loop->open_txn;
}