flux-framework / flux-accounting

bank/accounting interface for the Flux resource manager
https://flux-framework.readthedocs.io/projects/flux-accounting/en/latest/index.html
GNU Lesser General Public License v3.0
3 stars 10 forks source link

`add-bank`: multiple root banks can be added #508

Closed cmoussa1 closed 1 month ago

cmoussa1 commented 1 month ago

The structure of the flux-accounting database hierarchy of banks and users assumes there is only one root bank, but multiple root banks can be added:

$ flux account add-bank root 1
$ flux account add-bank second_root 1

There should be some safeguards to check that if there is already a root bank, another one cannot be added.