Closed ricellis closed 4 years ago
CHANGES.md
CHANGELOG.md
Updated DbInfo sizes functionality.
DbInfo
Call db.info().getDiskSize() on CouchDB 3
db.info().getDiskSize()
Expected to get the actual disk size.
Got 0.
0
DbInfo#getSizes()
DbInfo#getDiskSize()
sizes
disk_size
DbInfo.Sizes
DbInfoMockTests
getDbInfoDiskSizeZeroWithoutException
getDbInfoDiskSize
getDbInfoDiskSizeFromSizes
getDbInfoSizes
Checklist
CHANGES.md
|CHANGELOG.md
) or test/build only changesDescription
Updated
DbInfo
sizes functionality.1. Steps to reproduce and the simplest code sample possible to demonstrate the issue
Call
db.info().getDiskSize()
on CouchDB 32. What you expected to happen
Expected to get the actual disk size.
3. What actually happened
Got
0
.Approach
DbInfo#getSizes()
for access to improved sizes information from newer Couch releases.DbInfo#getDiskSize()
to work withsizes
object ifdisk_size
is unavailable.Schema & API Changes
DbInfo.Sizes
Security and Privacy
Testing
DbInfoMockTests
:getDbInfoDiskSizeZeroWithoutException
getDbInfoDiskSize
getDbInfoDiskSizeFromSizes
getDbInfoSizes
Monitoring and Logging