diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2019-07-16 15:35:12 +0200 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2019-12-05 10:47:37 +0100 |
| commit | 8600e543e384470f972d81238a94449433ea0645 (patch) | |
| tree | 9c77fba62ae0bcab8ac8e97f5186dabf21414ba1 /include | |
| parent | 6e0b7d1ae0a0801290fc992445baf7263af4663e (diff) | |
| download | rabbitmq-server-git-8600e543e384470f972d81238a94449433ea0645.tar.gz | |
rabbit_mnesia: Be more flexible in is_virgin_node()
Before, if the directory was not empty, the function required that all
three ignored files were present in that directory. If only two were,
then the test would fail and the node would not be considered as
pristine.
Now, we take the list of files in that directory and remove the files to
ignored. If the result is empty, the node is new.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
