Blockfile: Upgrade to Blockfile format 4 on non-Android ARM

This commit is contained in:
zzz
2017-03-25 11:32:05 +00:00
parent a0b2f5738a
commit cff8eafc43
3 changed files with 8 additions and 4 deletions

View File

@ -418,10 +418,10 @@ public class BlockfileNamingService extends DummyNamingService {
// version 3 -> version 4
// support multiple destinations per hostname
if (VersionComparator.comp(_version, "4") < 0) {
// Upgrade of 4K entry DB on RPi 2 is over 2 1/2 minutes, disable for now
if (SystemVersion.isAndroid() || SystemVersion.isARM()) {
// Upgrade of 4K entry DB on RPi 2 is over 2 1/2 minutes, probably worse on Android, disable for now
if (SystemVersion.isAndroid()) {
if (_log.shouldWarn())
_log.warn("Deferring upgrade to version 4 on Android/ARM");
_log.warn("Deferring upgrade to version 4 on Android");
return true;
}
SkipList<String, Properties> hdr = _bf.getIndex(INFO_SKIPLIST, _stringSerializer, _infoSerializer);

View File

@ -1,3 +1,7 @@
2017-03-25 zzz
* Blockfile: Upgrade to Blockfile format 4 on non-Android ARM
* i2ptunnel: Allow alt priv key file to be added without restarting I2P
2017-03-24 zzz
* Addressbook: Remove static reference, hide implementation
* CPUID: Recognize Ryzen

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 10;
public final static long BUILD = 11;
/** for example "-test" */
public final static String EXTRA = "";