• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

apache / bookkeeper / 841
72%

Build:
DEFAULT BRANCH: master
Ran 11 Jun 2020 03:34PM UTC
Jobs 1
Files 545
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
841

push

jenkins

GitHub
[BUG] Fix redundant statistics

### Motivation

Fix redundant statistics, run 5 bookies `bin/bookkeeper localbookie 10`, then show bookieinfo

```
./bin/bookkeeper shell bookieinfo
```

**Wrong result**
```
Free disk space info:
10.101.52.18(10.101.52.18):5004:        Free: 34930151424(34.93GB)      Total: 255850758144(255.85GB)
10.101.52.18(10.101.52.18):5003:        Free: 34930151424(34.93GB)      Total: 255850758144(255.85GB)
10.101.52.18(10.101.52.18):5002:        Free: 34930151424(34.93GB)      Total: 255850758144(255.85GB)
10.101.52.18(10.101.52.18):5000:        Free: 34930151424(34.93GB)      Total: 255850758144(255.85GB)
10.101.52.18(10.101.52.18):5005:        Free: 34930151424(34.93GB)      Total: 255850758144(255.85GB)
Total free disk space in the cluster:   174650757120(174.65GB)
Total disk capacity in the cluster:     1279253790720(1.279TB)
```

**Right result**
```
Free disk space info:
10.101.52.18(10.101.52.18):5004:        Free: 33172185088(33.172GB)     Total: 255850758144(255.85GB)
10.101.52.18(10.101.52.18):5003:        Free: 33172185088(33.172GB)     Total: 255850758144(255.85GB)
10.101.52.18(10.101.52.18):5002:        Free: 33172185088(33.172GB)     Total: 255850758144(255.85GB)
10.101.52.18(10.101.52.18):5006:        Free: 33172185088(33.172GB)     Total: 255850758144(255.85GB)
10.101.52.18(10.101.52.18):5005:        Free: 33172185088(33.172GB)     Total: 255850758144(255.85GB)
Total free disk space in the cluster:   33172185088(33.172GB)
Total disk capacity in the cluster:     255850758144(255.85GB)
```



Reviewers: Jia Zhai <zhaijia@apache.org>, Sijie Guo <None>, Enrico Olivelli <eolivelli@gmail.com>

This closes #2348 from lamber-ken/bk-info-command

10 of 10 new or added lines in 1 file covered. (100.0%)

28438 of 39721 relevant lines covered (71.59%)

0.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 841.1 11 Jun 2020 03:34PM UTC 0
71.59
Source Files on build 841
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #841
  • 62a50740 on github
  • Prev Build on master (#840)
  • Next Build on master (#842)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc