Replies: 2 comments
-
|
The options is not exposed to prevent invalid modifications on the options. Because it is being used by ZoneTree and not all options are changeable in real time. Note: You would still need to create a maintainer when the WAL mode set to none because the maintainer compacts data into the physical storage. Maintainer is a lightweight object and it is recommended to always create a maintainer per database. |
Beta Was this translation helpful? Give feedback.
-
|
CloneOptions method is added. /// <summary>
/// Clones the options used by ZoneTree instance.
/// </summary>
/// <remarks>
/// Modifying the cloned option values does not change the ZoneTree instance's behavior.
/// </remarks>
/// <returns>Cloned ZoneTree options.</returns>
public ZoneTreeOptions<TKey, TValue> CloneOptions(); |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I cant find a way to get options used to create database.
It may be usefull in case I made universal accessor for library and need to know what to do in different user setups.
F.i. if WAL is configured for
Nonemode its pointless for me to start maintaner but it must be started in all other cases.May be to add options property into
ZoneTreeinterface?Beta Was this translation helpful? Give feedback.
All reactions