summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2019-07-16 15:35:12 +0200
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2019-12-05 10:47:37 +0100
commit8600e543e384470f972d81238a94449433ea0645 (patch)
tree9c77fba62ae0bcab8ac8e97f5186dabf21414ba1 /include
parent6e0b7d1ae0a0801290fc992445baf7263af4663e (diff)
downloadrabbitmq-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