good morning!!!!

Skip to content
Snippets Groups Projects
  1. Jun 15, 2020
    • Alex Sharov's avatar
      Minor lmdb related improvements (#667) · 57358730
      Alex Sharov authored
      * don't call initCursor on happy path
      
      * don't call initCursor on happy path
      
      * don't run stale reads goroutine for inMem mode
      
      * don't call initCursor on happy path
      
      * remove buffers from cursor object - they are useful only in Badger implementation
      
      * commit kv benchmark
      
      * remove buffers from cursor object - they are useful only in Badger implementation
      
      * remove buffers from cursor object - they are useful only in Badger implementation
      
      * cancel server before return pipe to pool
      
      * try  to fix test
      
      * set field db in managed tx
      57358730
  2. Jun 14, 2020
  3. Jun 13, 2020
  4. Jun 12, 2020
  5. Jun 11, 2020
  6. Jun 10, 2020
    • b00ris's avatar
      [WIP] TxLookup stage (#646) · b4ba764f
      b00ris authored
      * save state
      
      * txlookup full results
      
      * save state
      
      * save state
      
      * remove experiments
      
      * some fix&lint
      
      * add end key to txLookup and index generation
      
      * change log message
      
      * change log
      
      * fix lint
      
      * lint
      
      * fix test
      b4ba764f
    • Alex Sharov's avatar
      lmdb bucket stats (#645) · fd61af70
      Alex Sharov authored
      * lmdb bucket stats
      
      * fix lint warnings
      
      * add bucket.Size method
      
      * add bucket.Size method
      fd61af70
  7. Jun 09, 2020
  8. Jun 08, 2020
    • Andrew Ashikhmin's avatar
      d1509f21
    • Alex Sharov's avatar
      KV: Tx objects pool (#637) · f00f4b5d
      Alex Sharov authored
      * Lmdb internal objects reuse (built-in feature of lmdb):
      - lmdb read transactions pool
      - lmdb also support cursors reuse, but not implemented in this PR
      
      And kv abstraction objects reuse:
      - lmdbKV pool of all tx objects
      - boltKV pool of all tx objects
      - badgerKV pool of all tx objects
      
      * switch makefile back to bolt
      
      * switch makefile back to bolt
      
      * lmdb test run
      
      * switch makefile back to bolt
      
      * cursors pool
      
      * run lmdb tests
      
      * make kv objects pool global
      
      * switch makefile back to bolt
      
      * remove badgers GOMAXPROC setup, because our app tunned for sequential read/writes, not for random throughput
      
      * simplify code
      f00f4b5d
    • Igor Mandrigin's avatar
      refactor stagedsync unwind, add tests(#636) · 1d740fc7
      Igor Mandrigin authored
      * some stubs
      
      * post rebase
      
      * fixups
      
      * linter
      
      * linter 2
      
      * Update stages.go
      1d740fc7
  9. Jun 07, 2020
    • ledgerwatch's avatar
      Introduce intermediate hashes stage (#634) · 0fb37c80
      ledgerwatch authored
      * Query progress
      
      * Run stage4 offline
      
      * More thorough resetState
      
      * Correct BlockNumber
      
      * Fix formatting
      
      * State loop
      
      * do every 200k blocks
      
      * Shift to 6.6m
      
      * Close dbs in tests
      
      * Stage2 with option of no reset
      
      * every 100k blocks
      
      * Reset state before stage5
      
      * Introduce another stage
      
      * Check compile errors
      
      * Fix linter
      
      * Fix linter
      
      * Disable unreliable test
      
      * Fix test
      
      * Remove unreachable code
      0fb37c80
  10. Jun 06, 2020
    • Evgeny Danilenko's avatar
      optimize codeBitmap (#626) · 41ee460a
      Evgeny Danilenko authored
      * optimize codeBitmap
      
      * add lru
      
      * remove custom lru
      
      * jumpDests as explocit parameter
      
      * lint
      
      * lint
      
      * linters
      
      * default jumpDestsCache
      
      * remove common.rand
      41ee460a
    • Evgeny Danilenko's avatar
      Fix stage 3 shutdown (#629) · 3134066b
      Evgeny Danilenko authored
      * check stop on every block inside jobs
      
      * stop spawnRecoverSendersStage properly
      
      * fmt
      
      * close recoverSenders goroutines
      
      * fmt
      3134066b
    • Alex Sharov's avatar
      lmdb version up to 2020 (#632) · ec3a5f6d
      Alex Sharov authored
      ec3a5f6d
    • ledgerwatch's avatar
      Stage5 unwind (#631) · cd9813b8
      ledgerwatch authored
      * Unwinding for stage5 - start
      
      * Fix formatting
      
      * Integrated unwind, but no tests yet
      
      * Fix formatting
      
      * Fix lint
      
      * Fix lint
      
      * Test for unwind stage5
      
      * Fix formatting
      cd9813b8
    • Alex Sharov's avatar
      Lmdb and Badger tests (#630) · d8ffd02b
      Alex Sharov authored
      * try lmddb
      
      * try badger
      
      * try bigger badger
      
      * try lmb
      
      * release
      
      * release
      
      * release
      
      * release
      
      * try badger
      
      * try lmdb low memory
      
      * try lmdb low memory
      
      * lmdb high memory (16Mb not enough for /eth/downloader package)
      
      * badger more memory
      
      * badger more memory
      
      * badger more memory
      d8ffd02b
    • ledgerwatch's avatar
      Incremental promotion for stage 5 (#628) · a8b438d2
      ledgerwatch authored
      * Incremental promotion
      
      * Fix compile errors
      
      * Fix linter
      
      * Transform state keys before loading
      
      * Re-enable and fix the tests
      
      * Fix formatting
      a8b438d2
  11. Jun 05, 2020
    • Evgeny Danilenko's avatar
      Prevent slice make and copy in Pushes (#625) · 199ede36
      Evgeny Danilenko authored
      * prevent slice make and copy in Pushes
      
      * do not pad if the same length
      
      * after CR
      
      * linters
      
      * linters
      
      * linters
      199ede36
    • Evgeny Danilenko's avatar
      stack pool (#627) · 8d7e603f
      Evgeny Danilenko authored
      8d7e603f
    • Alex Sharov's avatar
      Run tests on lmdb and badger (#624) · f0bc2b21
      Alex Sharov authored
      * lmdb tests
      
      * trigger ci
      
      * fix tests
      
      * disable parallelism
      
      * disable parallelism
      
      * cleanup resources
      
      * cleanup resources
      
      * reduce concurency
      
      * try run tests on bolt
      
      * try run tests on bolt
      
      * fix downloader test
      
      * run bolt tests
      
      * rely on interface instead of exact instance
      
      * Rename AbstractKV to KV
      
      * don't use separator for badger
      
      * don't initialize badger cursor - because it not used here
      
      * fix linter
      
      * try reduce badger compactors
      
      * compat with master
      
      * try lmdb
      
      * try lmdb
      
      * try lmdb
      
      * reduce badger's MaxTableSize, reduce badger's minGoMaxProc for inMem option
      
      * allow to close closed db
      
      * release
      
      * release
      
      * ideal batch size for badger
      
      * ideal batch size for badger
      f0bc2b21
    • Alex Sharov's avatar
      Bolt: cursor.Put (#622) · 318b1b59
      Alex Sharov authored
      * Bolt: cursor.Put
      
      * go mod tidy
      318b1b59
    • Alex Sharov's avatar
      Add more info about badger's vlog gc (#620) · de76f5a0
      Alex Sharov authored
      de76f5a0
  12. Jun 04, 2020
    • Andrew Ashikhmin's avatar
      Misc GC optimisations (#619) · 05e81184
      Andrew Ashikhmin authored
      * uint256 in rlp
      
      * uint256 rather than big.Int in Transation
      
      * linters
      
      * more linters
      
      * still linters
      
      * Reduce garbage in writeUint256
      
      * Experiment with GC in writeByteArray
      
      * Misc GC optimisations
      
      * unsafe experiment with writeByteArray
      05e81184
Loading