DB drivers and NbApi does not match db_api
Bug #1709040 reported by
Lihi Wishnitzer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DragonFlow |
New
|
High
|
Unassigned |
Bug Description
The described API in db_api in not implemented as-is in our drivers.
Also, The usage of NbApi in the drivers, is not as db_api scribes it (but how the drivers are implemented).
For example:
NbApi.get_all uses get_all_entries.
In db_api, get_all_entries throws an exception, but NbApi.get_all does not handle with it.
If our Cassandra or Zookeeper deployments will throw that exception, our controller will crash (Redis and etcd does not throw this exception).
Changed in dragonflow: | |
importance: | Medium → High |
To post a comment you must log in.
Adding requirement to this bug: A fullstack test that verifies the DB API of the chosen implementation.