-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can configure a directory where to store the data #219
Comments
- support for setting global configuration of data path and decide whether to use temporary data file - support for applying customized rule of each global configuration - for the case of applying global configuration on multi-level configuration, please check TransportComponentCfg.java and GossipConfiguration.java as examples related to #219
There were test failures in CI so I temporarily reverted 54c5862 and pushed it to a branch named "219". |
- support for setting global configuration of data path and decide whether to use temporary data file - support for applying customized rule of each global configuration - for the case of applying global configuration on multi-level configuration, please check TransportComponentCfg.java and GossipConfiguration.java as examples - fixed the issue of null pointer expection. If there is no "global" section in Toml configuration file, we will create an empty global configuration instance. related to #219
After discussing with Roman, we found some there were some different understanding about how to setting global configurations. Followings are notes of requirements:
By the way, we met an issue of cannot create gossip file in file system, we need to fix it. Dongmin |
- the priority of global use temporary flag is higher than global data path. - converge the using temporary flag from each session to global session - rewrite the test cases, will check if the file exists on right path relate to #219
Test fails for me on Windows 7 64 bit. As a quick fix, I will ignore the test. Details:
stdout:
|
- support for global configuration - use the same word `directory` and `directories` for each configuration section - if there is no `[global]` configuration section, broker will store its data on `./tngp-data/` under the same folder with broker. - fix the issue of broker will not clean all the agents when closing - fix the issue of broker will not close the opened filed before closing - do some miscellaneous changes according to new configuration rule related to #219
Hi @DongminWu, it seems you missed to push some changes to the
|
Oh thanks, I will upload my code tonight. |
Review Hints:
|
The ComponentConfigurationFileExistsTest#shouldCleanTempDirectory fails quite often on my machine. And I also saw it failing at least once in CI. |
AT:
useTempDirectory
to true, so that the data is stored in atemp
folderThe text was updated successfully, but these errors were encountered: