You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In the current API new appended entries and committed entries are fetched into Ready synchronously. However In many cases we want to fetch them asynchronously. For example:
There are lots of entries need to be fetched and it is not expected to block the current thread;
The memory usage is almost reach the limit, it it not expected to fetch lots of entries into memory.
How about maintain terms with a Vec<(term, index) in memory for uncompacted entries? And only the first entry in a term needs to be recorded, so it won't be expensive.
Is your feature request related to a problem? Please describe.
In the current API new appended entries and committed entries are fetched into
Ready
synchronously. However In many cases we want to fetch them asynchronously. For example:Describe the solution you'd like
Adjust Ready to
And add 2 new fields into
Config
:The text was updated successfully, but these errors were encountered: