diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2023-03-27 21:42:58 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2023-04-24 22:40:18 +0200 |
commit | 4d6cdd8e0d86d2b3b6866aaacf327d8c5e7092df (patch) | |
tree | 3a058aa3151819aadfc2eeb0ad2cbd0a304fbe9a /Documentation | |
parent | a73b0206ba6f3991ac1550c7c07f11fa4237a898 (diff) | |
download | openvswitch-4d6cdd8e0d86d2b3b6866aaacf327d8c5e7092df.tar.gz |
ovsdb: Allow conversion records with no data in a clustered storage.
If the schema with no data was read from the clustered storage, it
should mean a database conversion request. In general, we can get:
1. Just data --> Transaction record.
2. Schema + Data --> Database conversion or raft snapshot install.
3. Just schema --> New. Database conversion request.
We cannot distinguish between conversion and snapshot installation
request in the current implementation, so we will keep handling
conversion with data in the same way as before, i.e. if data is
provided, we should use it.
ovsdb-tool is updated to handle this record type as well while
converting cluster to standalone.
This change doesn't introduce a way for such records to appear in
the database. That will be added in the future commits targeting
conversion speed increase.
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Acked-by: Dumitru Ceara <dceara@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions