feat(sessds): add field to `ds_pubrange` for forward-compat

This commit is contained in:
Andrew Mayorov 2023-11-20 19:56:55 +07:00
parent 7081f1951f
commit ef7cfd0202
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
1 changed files with 3 additions and 2 deletions

View File

@ -62,7 +62,9 @@
%% the range.
%% * For checkpoint range, this is the iterator pointing right past the last
%% message in the range.
iterator :: emqx_ds:iterator()
iterator :: emqx_ds:iterator(),
%% Reserved for future use.
misc = #{} :: map()
}).
-type ds_pubrange() :: #ds_pubrange{}.
@ -72,7 +74,6 @@
%% creation time
created_at :: _Millisecond :: non_neg_integer(),
expires_at = never :: _Millisecond :: non_neg_integer() | never,
% last_ack = 0 :: emqx_persistent_message_ds_replayer:seqno(),
%% for future usage
props = #{} :: map()
}).