瀏覽代碼

chore(dsraft): fix a typespec

Andrew Mayorov 1 年之前
父節點
當前提交
b0594271b2
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      apps/emqx_ds_builtin_raft/src/emqx_ds_replication_layer.erl

+ 4 - 1
apps/emqx_ds_builtin_raft/src/emqx_ds_replication_layer.erl

@@ -101,7 +101,10 @@
         n_shards => pos_integer(),
         n_sites => pos_integer(),
         replication_factor => pos_integer(),
-        replication_options => _TODO :: #{}
+        replication_options => _TODO :: #{},
+        %% Inherited from `emqx_ds:generic_db_opts()`.
+        force_monotonic_timestamps => boolean(),
+        atomic_batches => boolean()
     }.
 
 %% This enapsulates the stream entity from the replication level.