Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support/1.2.x Fix DCO to be force-pushed #1358

Closed
wants to merge 88 commits into from

Conversation

kuvaldini
Copy link
Contributor

DANGER!

iceseer and others added 30 commits February 5, 2021 20:16
* fixup!

Signed-off-by: iceseer <iceseer@gmail.com>

* format

Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>
* YacGate: ignore Future messages for the next block

Signed-off-by: Andrei Lebedev <lebdron@gmail.com>

* YacGate: initialize with ledger state

Signed-off-by: Andrei Lebedev <lebdron@gmail.com>

Co-authored-by: kamilsa <kamilsa16@gmail.com>
* add wsv restore mode - sync blockstore
add --drop_state param, param --reuse_state is default

Signed-off-by: Alexey-N-Chernyshov <alexey.n.chernyshov@gmail.com>

* reload blockstore
atomic file creation
restore blockstore file content validation

Signed-off-by: Alexey-N-Chernyshov <alexey.n.chernyshov@gmail.com>

* fix integration tests with new param

Signed-off-by: Alexey-N-Chernyshov <alexey.n.chernyshov@gmail.com>
Signed-off-by: Alexey <Alexey.N.Chernyshov@gmail.com>
* fixup!

Signed-off-by: iceseer <iceseer@gmail.com>

* fixup!

Signed-off-by: iceseer <iceseer@gmail.com>

* fixup!

Signed-off-by: iceseer <iceseer@gmail.com>

* tests fixup!

Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>
* fixup!

Signed-off-by: iceseer <iceseer@gmail.com>

* fixup!

Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>
* fix main branch

Signed-off-by: Bulat Saifullin <bulat@saifullin.ru>

* Update doxygen.groovy

Signed-off-by: Bulat Saifullin <bulat@saifullin.ru>

* rename master to main

Signed-off-by: Bulat Saifullin <bulat@saifullin.ru>
* subscription: utils

Signed-off-by: iceseer <iceseer@gmail.com>

* threaded handler

Signed-off-by: iceseer <iceseer@gmail.com>

* threaded handler queue

Signed-off-by: iceseer <iceseer@gmail.com>

* threaded handler queue

Signed-off-by: iceseer <iceseer@gmail.com>

* threaded handler queue

Signed-off-by: iceseer <iceseer@gmail.com>

* refactoring

Signed-off-by: iceseer <iceseer@gmail.com>

* dispatcher

Signed-off-by: iceseer <iceseer@gmail.com>

* dispatcher

Signed-off-by: iceseer <iceseer@gmail.com>

* subscription engine

Signed-off-by: iceseer <iceseer@gmail.com>

* format

Signed-off-by: iceseer <iceseer@gmail.com>

* compile-time murmur2

Signed-off-by: iceseer <iceseer@gmail.com>

* engine refactoring

Signed-off-by: iceseer <iceseer@gmail.com>

* dispatcher in engine

Signed-off-by: iceseer <iceseer@gmail.com>

* TID chained

Signed-off-by: iceseer <iceseer@gmail.com>

* dispatcher checks

Signed-off-by: iceseer <iceseer@gmail.com>

* engine multithreaded

Signed-off-by: iceseer <iceseer@gmail.com>

* format

Signed-off-by: iceseer <iceseer@gmail.com>

* format

Signed-off-by: iceseer <iceseer@gmail.com>

* manager

Signed-off-by: iceseer <iceseer@gmail.com>

* compiled

Signed-off-by: iceseer <iceseer@gmail.com>

* compiled

Signed-off-by: iceseer <iceseer@gmail.com>

* work

Signed-off-by: iceseer <iceseer@gmail.com>

* refactoring

Signed-off-by: iceseer <iceseer@gmail.com>

* format

Signed-off-by: iceseer <iceseer@gmail.com>

* comments

Signed-off-by: iceseer <iceseer@gmail.com>

* test

Signed-off-by: iceseer <iceseer@gmail.com>

* rollback test

Signed-off-by: iceseer <iceseer@gmail.com>

# Conflicts:
#	irohad/main/application.cpp

* move args

Signed-off-by: iceseer <iceseer@gmail.com>

* thread safe

Signed-off-by: iceseer <iceseer@gmail.com>

* fixup!

Signed-off-by: iceseer <iceseer@gmail.com>

* refactoring

Signed-off-by: iceseer <iceseer@gmail.com>

* format

Signed-off-by: iceseer <iceseer@gmail.com>

* rw object holder

Signed-off-by: iceseer <iceseer@gmail.com>

* rename

Signed-off-by: iceseer <iceseer@gmail.com>

* SE sync call

Signed-off-by: iceseer <iceseer@gmail.com>

* issue fixes

Signed-off-by: iceseer <iceseer@gmail.com>

* revert sync call

Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>
Add prometheus metrics sample

Issues closes #833, closes #834

There is a config-file key "metrics" which represents
address:port in one line. Values could be addr:port, port,
or :port. I.e "127.0.0.1:8080", "9090", or ":1234".
See file examples/config.sample. Wrong value disables
Prometheus metrics.

There are two command line options to override config:
--metrics_port http port to listen on, default empty - disabled
--metrics_addr interface address to listen on, default 127.0.0.1

Signed-off-by: Ivan Kuvaldin <kuvaldin@soramitsu.co.jp>
Signed-off-by: kuvaldini <jqyw@ukr.net>
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>
#881 Launch from scratch without --drop-state flag

Signed-off-by: kuvaldini <jqyw@ukr.net>
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>

Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>

Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: kuvaldini <jqyw@ukr.net>

Signed-off-by: Ivan Kuvaldin <kuvaldin@soramitsu.co.jp>
Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>

Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>

Signed-off-by: iceseer <iceseer@gmail.com>
bind/unbind additional schedulers to dispatcher

Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>

Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>

Signed-off-by: iceseer <iceseer@gmail.com>
Closes #868 irohad silently exits with 1 if config file does not exist

Signed-off-by: kuvaldini <ivan@kuvaldini.pro>

Signed-off-by: Ivan Kuvaldin <kuvaldin@soramitsu.co.jp>
Signed-off-by: Sara <lira.lemur@gmail.com>
Signed-off-by: Sara <lira.lemur@gmail.com>
Signed-off-by: Sara <lira.lemur@gmail.com>

review fix

Signed-off-by: Sara <lira.lemur@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
lebdron and others added 25 commits May 29, 2021 19:48
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Add config example in docs always in sync with example/config.sample
Closes #907

Signed-off-by: Sara <lira.lemur@gmail.com>
[Metrics] #837 #883 #919 #896 #835

Integrate kOnBlock to storage_impl.cpp
Closes #837 Add total number of blocks
Closes #883 Number of domains
Closes #919 Number of signatures in the last block
Closes #896 Measure total number of transactions
Closes #835 Total nodes/peers updated when kOnBlock
Should close #835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes #966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan 'kuvaldini' Kuvaldin <ivan@kuvaldini.pro>
Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
…rams optional

Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
* [GHActions] Introduce GitHub Actions Iroha1

build_iroha_deps.sh update and made reentrant
Check if GitHub workflows correspond to sources
Disable slow s390 in Jenkins
remove TBB from dependancies
Chatops

Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
* pg config deprecated+config example in docs uploaded from the example
* block path info to config docs

Signed-off-by: Sara <lira.lemur@gmail.com>
* One important issue fixed - red cross on scceeded build:
handle empty matrix https://github.community/t/empty-matrix-fails-workflow/128736
* build_spec for workflow dispatch
* show needs for better logging

Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
[GHA] on:push:branches:[...,gha-*,*-with-gha]

Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
Signed-off-by: iceseer <iceseer@gmail.com>
Yac: ledger state awareness, remove redundant message transmissions

Ordering service: notify on packed proposals

Add used batches handling

Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
* Update requirements.txt
* Bump Jinja2 to 2.11.3

Signed-off-by: Ayush Jalan <ayushjalan19@gmail.com>

Co-authored-by: Denis Nikiforov <45266099+DenisNikiforov@users.noreply.github.com>
Co-authored-by: kuvaldini <ivan@kuvaldini.pro>
Signed-off-by: iceseer <iceseer@gmail.com>
…tAccountAssetsTransactions (#1092)


Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
Signed-off-by: Piotr Pawłowski <68233055+Pawlak00@users.noreply.github.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
[GHA] cmake -DTESTING=ON explicitly
[GHA][tests] fix postgres db, mkdir postgres_database && chown iroha-ci postgres_database
[GHA] FIXME CTest ALLOW_TO_FAIL='module_postgres_query_executor_test system_irohad_test integration_add_peer_test integration_batch_pipeline_test'
[GHA][CMake] no strict mode in tests
[C++] FIXME deprecations
[GHA] build-spec in commit message
[GHA] gen-matrix from main
[GHA] chatops-gen-matrix.sh  allow input from cmdline
[GHA] FIXME lifehack: At the moment we are able to build Release only with GCC-9, Other compilers are dropped from release matrix.
[GHA] compare ccache stats before after build
[GHA] shorter job names, place for matrix on a page

Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
[Tests] fixes

Signed-off-by: iceseer <iceseer@gmail.com>
/build before-merge

Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
/build before-merge

Signed-off-by: iceseer <iceseer@gmail.com>
@kuvaldini kuvaldini changed the base branch from main to support/1.2.x August 23, 2021 10:48
@kuvaldini kuvaldini marked this pull request as draft August 23, 2021 15:46
@kuvaldini kuvaldini closed this Sep 1, 2021
@kuvaldini kuvaldini deleted the support-1.2.x-fixdco branch September 2, 2021 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet