I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
  1. Dec 28, 2021
    • zzz's avatar
      bump -6 · aa386f3b
      zzz authored
      aa386f3b
    • zzz's avatar
      NetDB: StoreJob reliability improvements · f1170b94
      zzz authored
      - Always use a lease as the reply tunnel when publishing LS through a client tunnel
        This ensures we're not using about-to-expire tunnels for the reply,
        and ensures the ff is able pick an alternate
      - Don't count skipped peers as attempted in FloodfillVerify
      - Pass failed and skipped peers to FloodfillVerify job to be skipped there also
      - Pass failed and skipped peers from FloodfillVerify job to the next StoreJob on failure
      - Consolidate common reply token generation code in StoreJob
      - Ensure tunnel diversity in StoreJob retries by only
        using tunnels closest to the target for the first request.
        This increases reliability by not reusing the same tunnels for all retries.
      - Refactor StoreState to rework inefficient methods and unused data
      - Clean up commented-out code in StoreState
      - Log tweaks
      f1170b94
    • zzz's avatar
      NetDB: RepublishLeaseSetJob · 59ab4077
      zzz authored
      Don't requeue on failure if there is a newer LS, KNDF will have already done that.
      Log tweaks and cleanups
      59ab4077
    • zzz's avatar
      NetDB: Ensure tunnel diversity in ISJ retries · 85b9862b
      zzz authored
      by only using tunnels closest to the target for the first request.
      This increases reliability by not reusing the same tunnels for all retries.
      85b9862b
    • zzz's avatar
      132d76a0
    • zzz's avatar
      NetDB: Increase lookup throttle time · c4b4b2d4
      zzz authored
      This reduces the max lookup rate
      c4b4b2d4
    • zzz's avatar
      NetDB: Use same dbResponseTime rate in ff peer selector as in KNDF.getPeerTimeout() · db6914f5
      zzz authored
      10 minute rate is too short
      Change to getAvgOrLifetimeAvg()
      Reduce max time
      db6914f5
    • zzz's avatar
      NetDB: Fix usage of dbResponseTime stat · bef72946
      zzz authored
      Actually update the stat for stores in dbStoreSent();
      we are generally storing to different ffs than lookups, so we need the
      stat for stores as well, since we use it as the timeout in StoreJob.
      
      Change from 1-day to 1-hour stat.
      Switch to avgOrLifetimeAvg() so the rate is always valid.
      Reduce max time used for timeout.
      This allows more peers to be tried before total timeout
      Previously, the per-peer timeout was almost always the max.
      Make sendStore() package private.
      Javadocs and cleanups.
      bef72946
    • zzz's avatar
  2. Dec 27, 2021
  3. Dec 23, 2021
  4. Dec 21, 2021
    • zzz's avatar
      i2psnark standalone: Add jbigi.jar · e51738d1
      zzz authored
      as requested by R4SAS
      e51738d1
    • zzz's avatar
      Transport: Async NTCP writes (MR !43) · 811442f9
      zzz authored
      - Write directly from writer threads, except for during establishment and when write doesn't complete; throw those to the pumper as usual
      - New NTCPCon writelock, readlock, and statlock (formerly all on NTCPCon.this) to prevent deadlocks
      - NTCPCon chan and key now volatile, remove synch to prevent deadlocks
      - All interestOps changes now lock on the key via setInterest() and clearInterest() since changes may now happen in multiple threads
      - Set _paddingConfig at initialization to avoid NPE
      
      Greatly reduces pumper loops and CPU
      
      As proposed by jogger
      Reviewed by zlatinb
      Ref: http://zzz.i2p/topics/3192
      811442f9
  5. Dec 19, 2021
  6. Dec 18, 2021
Loading