fix(emqx_retainer): wait for Mria tables
This commit is contained in:
parent
f9ea924cd0
commit
1202bef6db
|
@ -127,6 +127,7 @@ create_table(Table, RecordName, Attributes, Type, StorageType) ->
|
|||
{storage_properties, StoreProps}
|
||||
]),
|
||||
ok = mria_rlog:wait_for_shards([?RETAINER_SHARD], infinity),
|
||||
ok = mria:wait_for_tables([Table]),
|
||||
case mnesia:table_info(Table, storage_type) of
|
||||
Copies ->
|
||||
ok;
|
||||
|
|
Loading…
Reference in New Issue