zold-io / zold

An Experimental Non-Blockchain Cryptocurrency for Fast Micro Payments
https://www.zold.io
MIT License
194 stars 53 forks source link

Gc fails when file not found #627

Closed yegor256 closed 5 years ago

yegor256 commented 5 years ago
Routine Zold::Routines::Gc #1 failed in 1m
RuntimeError: Wallet file '/root/4/4/8/b/448b451bc62e8e16.z' is absent
    /usr/local/rvm/gems/ruby-2.5.1/gems/zold-0.18.4/lib/zold/txns.rb:41:in `fetch'
    /usr/local/rvm/gems/ruby-2.5.1/gems/zold-0.18.4/lib/zold/txns.rb:64:in `fetch'
    /usr/local/rvm/gems/ruby-2.5.1/gems/zold-0.18.4/lib/zold/wallet.rb:204:in `txns'
    /usr/local/rvm/gems/ruby-2.5.1/gems/zold-0.18.4/lib/zold/commands/routines/gc.rb:50:in `block (2 levels) in exec'
    /usr/local/rvm/gems/ruby-2.5.1/gems/zold-0.18.4/lib/zold/sync_wallets.rb:61:in `block (2 levels) in acq'
    /usr/local/rvm/gems/ruby-2.5.1/gems/futex-0.6.2/lib/futex.rb:101:in `block in open'
    /usr/local/rvm/gems/ruby-2.5.1/gems/futex-0.6.2/lib/futex.rb:75:in `open'
    /usr/local/rvm/gems/ruby-2.5.1/gems/futex-0.6.2/lib/futex.rb:75:in `open'
    /usr/local/rvm/gems/ruby-2.5.1/gems/zold-0.18.4/lib/zold/sync_wallets.rb:60:in `block in acq'
    /usr/local/rvm/gems/ruby-2.5.1/gems/zold-0.18.4/lib/zold/cached_wallets.rb:63:in `block in acq'
    /usr/local/rvm/gems/ruby-2.5.1/gems/zold-0.18.4/lib/zold/tree_wallets.rb:64:in `acq'
    /usr/local/rvm/gems/ruby-2.5.1/gems/zold-0.18.4/lib/zold/cached_wallets.rb:61:in `acq'
    /usr/local/rvm/gems/ruby-2.5.1/gems/zold-0.18.4/lib/zold/sync_wallets.rb:59:in `acq'
    /usr/local/rvm/gems/ruby-2.5.1/gems/zold-0.18.4/lib/zold/commands/routines/gc.rb:50:in `block in exec'
    /usr/local/rvm/gems/ruby-2.5.1/gems/zold-0.18.4/lib/zold/commands/routines/gc.rb:48:in `each'
    /usr/local/rvm/gems/ruby-2.5.1/gems/zold-0.18.4/lib/zold/commands/routines/gc.rb:48:in `exec'
    /usr/local/rvm/gems/ruby-2.5.1/gems/zold-0.18.4/lib/zold/metronome.rb:73:in `block (3 levels) in start'
    /usr/local/rvm/gems/ruby-2.5.1/gems/zold-0.18.4/lib/zold/metronome.rb:70:in `loop'
    /usr/local/rvm/gems/ruby-2.5.1/gems/zold-0.18.4/lib/zold/metronome.rb:70:in `block (2 levels) in start'
0crat commented 5 years ago

The job #627 assigned to @yegor256/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be no monetary reward for this job

0crat commented 5 years ago

Job gh:zold-io/zold#627 already assigned to @yegor256, can't assign to @yegor256

0crat commented 5 years ago

Manual assignment of issues is discouraged, see §19: -5 point(s) just awarded to @yegor256/z

0crat commented 5 years ago

It is strongly discouraged to assign jobs to their creators, see §19: -15 point(s) just awarded to @yegor256/z

0crat commented 5 years ago

Bug was reported, see §29: +15 point(s) just awarded to @yegor256/z

yegor256 commented 5 years ago

@rultor release, tag is 0.18.5

rultor commented 5 years ago

@rultor release, tag is 0.18.5

@yegor256 OK, I will release it now. Please check the progress here

rultor commented 5 years ago

@rultor release, tag is 0.18.5

@yegor256 Done! FYI, the full log is here (took me 7min)

0crat commented 5 years ago

Job was finished in 0 hours, bonus for fast delivery is possible (see §36)

0crat commented 5 years ago

The job #627 is now out of scope

0crat commented 5 years ago

Order was finished: +35 point(s) just awarded to @yegor256/z