eiffel-community / eiffel-community/eiffel-intelligence

Enable automatic reconnection to MongoDB after connection loss.

Open
#321 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
12
Forks
78
PR merge metrics
No merged PRs in 30d

Description

### Description
Create a functional test for the case when MongoDB goes down that ensures that the connection is reestablished when MongoDB is back online.

Option a: Build a wrapper around EI Mongo client that ensures we detect the MongoDB status and halts all requests to MongoDB whiule we wait for MongoDB to come back online.

Option b: Reuse Springs Mongo client, this may affect the way we read and writes data to MongoDB.

### Motivation
Increase robustness of the application.

### Exemplification
Issues with MongoDB.

### Benefits
Increase robustness of the application.

### Possible Drawbacks
None

Contributor guide

Open the contributing guide

Research direction

No files or existing tests are named. Start by locating the Eiffel Intelligence MongoDB client integration and functional-test setup, then compare the wrapper and Spring Mongo client options; done means a test observes MongoDB going down, verifies requests are handled during the outage, and confirms reconnection when MongoDB returns.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mongodb, spring
Domain
backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.