Closed nak3 closed 7 years ago
I think it's the issue that --data-dir
specified the directory for torus holding data.
torus created a file with size specified by --size
.
Even when you changed --size
value, the placeholder file size remains older size, I think maybe torusd did not increase placeholder file size on disk.
If you clear data-dir and restart torusd, you can see the size is updated.
Reproduce steps
1. start torusd with
--size=1GiB
2. Stop torusd
3. Start torusd with another (e.g size
--size=10GiB
)Actual result
1.0 GiB
Expect result
torusctl peer list
shows updated size10GiB