Task #4225

Remove all traces of MongoDB from dependencies, code and documentation

Added by Jan Mach over 1 year ago. Updated 12 months ago.

Development - Core
Target version:
Start date:
Due date:
% Done:


Estimated time:
To be discussed:


After successfull migration to version 2.0 MongoDB is no longer necessary. Wait for reasonable amount of time to let users perform the migration.

Associated revisions

Revision 016883a7 (diff)
Added by Jan Mach over 1 year ago

Removed all mentions of MongoDB from documentation, added deprecation warnings to code libraries.

The only places in documentation where MongoDB mentions were kept are for obvious reasons installation and migration pages. (Redmine issue: #4225)

Revision 908e9b8f (diff)
Added by Jan Mach over 1 year ago

Deleted unit tests for MongoDB related code.

This step will greatly simplify the requirements for our automated build and deployment system. The MongoDB related code is still there for the purposes of data migration. (Redmine issue: #4225,#3387,#1017)

Revision 2b4cdea9 (diff)
Added by Jan Mach about 1 year ago

This commit removes support for MongoDB migrations to PostgreSQL.

After this all code related to MongoDB is gone and database migration from MongoDB to PostgreSQL is no longer possible. I have kept the documentation page about migration for now, so that the users can still at least find the information. (Redmine issue: #4225)

Revision 917abc8f (diff)
Added by Jan Mach about 1 year ago

Removed more unnecessary code related to MongoDB.

The methods removed in this commit took care of escaping '.' characters in disctionary keys, because in MongoDB it was reserved character. (Redmine issue: #4225)

Revision 052ecf52 (diff)
Added by Jan Mach about 1 year ago

Canceled explicit sorting of IP addresses to keep the original order.

IDEA event objects contain utility method for retrieving all Source/Target IP addresses. I have reverted the changes from previous commit to keep the addresses in original order. Minor coding style improvements. (Redmine issue: #4225)


#1 Updated by Radko KrkoŇ° about 1 year ago

MongoDB daemon is still running on new/upgraded installations. Based on VC discussion, it could be safely stopped and disabled, as was done on mentat-hub. If this issue is postponed, consider performing these steps during installation - MongoDB is required only for installation, after data migration, it has no purpose.

#2 Updated by Jan Mach about 1 year ago

  • Target version changed from Future to 2.4

I think we have kept the deprecated code long enough for all possible users to take action. I have scheduled this issue for next release.

#3 Updated by Jan Mach about 1 year ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90

I have removed all traces of MongoDB from codebase. I have kept the documentation page about migration for now, so that users can at least find information. I think that the documentation page should not prevent from closing this issue.

I will deploy the updated codebase to development server and close this issue after verification that everything is working in order.

#4 Updated by Jan Mach 12 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

Everything seems fine, closing.

Also available in: Atom PDF