Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Remove mongo_db_plugin - #9014

Merged
heifner merged 6 commits into
developfrom
remove-mongodb-dev
Apr 29, 2020
Merged

heifner merged 6 commits into
developfrom
remove-mongodb-dev

Conversation

@heifner

@heifner heifner commented Apr 27, 2020

Copy link
Copy Markdown
Contributor

Change Description

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

  • mongo_db_plugin status changed from deprecated to removed.

@heifner
heifner requested review from kj4ezj and removed request for jgiszczak, revl and scottarnette April 28, 2020 16:58
@@ -1,153 +0,0 @@
[[warning | Deprecation Notice]]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lparisc does removing this file cause any problems?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's fine as long as all references to the file are also removed, which seems to be the case.

@kj4ezj kj4ezj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still see a couple mongo references on your branch:

$ git log -1
commit d97ac7312738199f8fc08a7444328b1362d98a6b (HEAD -> remove-mongodb-dev, origin/remove-mongodb-dev)
Merge: 078cca84f 4bdc44f23
Author: Kevin Heifner <heifnerk@objectcomputing.com>
Date:   Mon Apr 27 17:33:37 2020 -0500

    Merge remote-tracking branch 'origin/develop' into remove-mongodb-dev
$ grep -rni mongo --exclude-dir .git
plugins/COMMUNITY.md:18:| Mongo History API | https://github.com/CryptoLions/EOS-mongo-history-API |
tests/CMakeLists.txt:175:  set(ctest_exclude_tests 'nodeos_run_remote_test|nodeos_run_test-mongodb|distributed-transactions-remote-test|restart-scenarios-test_replay')
libraries/fc/include/fc/crypto/webauthn_json/test/unittest/encodingstest.cpp:73:    0x1800,     0x18AF,     // Mongolian

The second result referring to nodeos_run_test-mongodb doesn't seem right. I would expect that test and all references to it to be gone. The first result doesn't make sense to me, either, really.

@lparisc lparisc left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ignore



**First**, v1.8 changes the structure of transaction traces, even prior to the activation of any protocol features. Clients consuming transaction and action traces made available through [`history_plugin`](../03_plugins/history_plugin/index.md), [`mongo_db_plugin`](../03_plugins/mongo_db_plugin/index.md), or [`state_history_plugin`](../03_plugins/state_history_plugin/index.md) should be aware of the changes made to the trace structure (see details at [#7044](https://github.com/EOSIO/eos/pull/7044) and [#7108](https://github.com/EOSIO/eos/pull/7108)). Clients consuming the trace output of the `push_transaction` RPC from the chain API should not need to do anything since the output of that RPC should be backwards compatible. However, they are encouraged to replace usage of `push_transaction` with the new RPC [`send_transaction`](https://developers.eos.io/eosio-nodeos/reference#send_transaction) which uses the new flat structure to store the action traces.
**First**, v1.8 changes the structure of transaction traces, even prior to the activation of any protocol features. Clients consuming transaction and action traces made available through [`history_plugin`](../03_plugins/history_plugin/index.md) or [`state_history_plugin`](../03_plugins/state_history_plugin/index.md) should be aware of the changes made to the trace structure (see details at [#7044](https://github.com/EOSIO/eos/pull/7044) and [#7108](https://github.com/EOSIO/eos/pull/7108)). Clients consuming the trace output of the `push_transaction` RPC from the chain API should not need to do anything since the output of that RPC should be backwards compatible. However, they are encouraged to replace usage of `push_transaction` with the new RPC [`send_transaction`](https://developers.eos.io/eosio-nodeos/reference#send_transaction) which uses the new flat structure to store the action traces.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure it's a good idea to remove the mongo_db_plugin reference here (definitely remove the link as it will be broken, but not the reference altogether) since this applies to the 1.8 upgrade guide which included the deprecated yet not removed mongo_db_plugin. I guess we shouldn't rewrite history.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added back in.

@NorseGaud

Copy link
Copy Markdown
Contributor

About time fellas! 👏👏👏👏👏

@scottarnette

scottarnette commented Apr 28, 2020 •

Copy link
Copy Markdown
Contributor

If desired, we can also test this PR's changes to the build scripts with this pipeline.
https://buildkite.com/EOSIO/eosio-build-scripts

@kj4ezj

kj4ezj commented Apr 28, 2020

Copy link
Copy Markdown
Contributor

If desired, we can also test this PR's changes to the build scripts with that pipeline.

Great idea! Kicked off build 226. I also kicked off a full test suite build 10 earlier, which is wrapping up now.

@heifner

heifner commented Apr 29, 2020

Copy link
Copy Markdown
Contributor Author

The second result referring to nodeos_run_test-mongodb doesn't seem right. I would expect that test and all references to it to be gone. The first result doesn't make sense to me, either, really.

Removed.

@heifner

heifner commented Apr 29, 2020

Copy link
Copy Markdown
Contributor Author

Kicked off a LRT: https://buildkite.com/EOSIO/eosio-lrt/builds/3415

@kj4ezj kj4ezj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thank you.

@heifner
heifner merged commit 9cd50f4 into develop Apr 29, 2020
@heifner
heifner deleted the remove-mongodb-dev branch April 29, 2020 13:50
@lparisc lparisc added the documentation Requires attention from documentation team. e.g. documentation is expected to be generated. label May 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation Requires attention from documentation team. e.g. documentation is expected to be generated.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants