Compare commits
14 Commits
master
...
branch-2.1
Author | SHA1 | Date | |
---|---|---|---|
|
315934ba22 | ||
|
e6cb601c1d | ||
|
0ddcf21a4c | ||
|
29b3c6ee62 | ||
|
114691ded6 | ||
|
30e3709669 | ||
|
930e719863 | ||
|
02df8c16d7 | ||
|
a74d82bd79 | ||
|
270718d79f | ||
|
364303bcef | ||
|
04b5b25327 | ||
|
9d8dda35bf | ||
|
66d95f8500 |
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
VERSION=666.development
|
||||
VERSION=2.1.6
|
||||
|
||||
if test -f version
|
||||
then
|
||||
|
2
dist/debian/build_deb.sh
vendored
2
dist/debian/build_deb.sh
vendored
@ -48,7 +48,7 @@ if [ "$(arch)" != "x86_64" ]; then
|
||||
fi
|
||||
|
||||
if [ -e debian ] || [ -e build/release ]; then
|
||||
rm -rf debian build
|
||||
sudo rm -rf debian build
|
||||
mkdir build
|
||||
fi
|
||||
if is_debian_variant; then
|
||||
|
41
dist/redhat/mock/scylla-jmx-epel-7-x86_64.cfg
vendored
41
dist/redhat/mock/scylla-jmx-epel-7-x86_64.cfg
vendored
@ -22,51 +22,32 @@ mdpolicy=group:primary
|
||||
best=1
|
||||
|
||||
# repos
|
||||
[base]
|
||||
[scylla-centos-base]
|
||||
name=BaseOS
|
||||
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os
|
||||
failovermethod=priority
|
||||
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-7
|
||||
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-7
|
||||
gpgcheck=1
|
||||
|
||||
[updates]
|
||||
[scylla-centos-updates]
|
||||
name=updates
|
||||
enabled=1
|
||||
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates
|
||||
failovermethod=priority
|
||||
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-7
|
||||
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-7
|
||||
gpgcheck=1
|
||||
|
||||
[epel]
|
||||
name=epel
|
||||
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=x86_64
|
||||
failovermethod=priority
|
||||
gpgkey=file:///usr/share/distribution-gpg-keys/epel/RPM-GPG-KEY-EPEL-7
|
||||
gpgcheck=1
|
||||
|
||||
[extras]
|
||||
[scylla-centos-extras]
|
||||
name=extras
|
||||
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras
|
||||
failovermethod=priority
|
||||
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-7
|
||||
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-7
|
||||
gpgcheck=1
|
||||
|
||||
[testing]
|
||||
name=epel-testing
|
||||
enabled=0
|
||||
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel7&arch=x86_64
|
||||
[scylla-epel]
|
||||
name=epel
|
||||
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=x86_64
|
||||
failovermethod=priority
|
||||
|
||||
|
||||
[local]
|
||||
name=local
|
||||
baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/x86_64/
|
||||
cost=2000
|
||||
enabled=0
|
||||
|
||||
[epel-debuginfo]
|
||||
name=epel-debug
|
||||
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=x86_64
|
||||
failovermethod=priority
|
||||
enabled=0
|
||||
gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
|
||||
gpgcheck=1
|
||||
"""
|
||||
|
@ -105,9 +105,11 @@ public class FailureDetector extends APIMBean implements FailureDetectorMBean {
|
||||
ep.setAliave(obj.getBoolean("is_alive"));
|
||||
ep.setUpdateTimestamp(obj.getJsonNumber("update_time").longValue());
|
||||
JsonArray states = obj.getJsonArray("application_state");
|
||||
for (int j = 0; j < states.size(); j++) {
|
||||
JsonObject state = states.getJsonObject(j);
|
||||
ep.addApplicationState(state.getInt("application_state"), state.getString("value"));
|
||||
if (states != null) {
|
||||
for (int j = 0; j < states.size(); j++) {
|
||||
JsonObject state = states.getJsonObject(j);
|
||||
ep.addApplicationState(state.getInt("application_state"), state.getString("value"));
|
||||
}
|
||||
}
|
||||
res.put(obj.getString("addrs"), ep);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user