You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aerolab cluster list -j prints out AGI instances if they exist, but aerolab cluster list does not.
MIght be better to make these two commands synced. Preferably better to NOT return AGI instances when expecting clusters. This may also help fix the other issue #340
The text was updated successfully, but these errors were encountered:
@colton-aerospike
This is separate from 340, which Iresolved now. The issue here is that while GUI listings show nicely clusters separate from AGI, in reality AGI is just a cluster with extra features bolted on top. As such, there is not separate AGI listing at all in the system at all. What we do have is, if you look at the Cluster list json, you will notice the Features section, which will have Aerospike if aerospike server is installed, and will have AGI if AGI feature is installed.
To work out if a cluster is AGI or not, simply filter by the json [].Features which is a list. If the list contains ["AGI"], it's AGI.
This is getting reworked in 8.0.0 where every instance will be just that - an instance with a list of features added to it. There will be no more cluster/client separation, but Instance with Features installed on it - at least that's the current idea.
@dotyjim-work ^ this is how it currently works, which I do recognise is not ideal. Considering the work involved in separating logic for the same call to have separate json fills for AGI vs Cluster listing based on a feature, I would be leaning towards leaving it as is in v7 (as it may break existing scripts otherwise if we are not careful) and leave it for 8.0.0 cleanup which reworks the whole flow of definitions. Thoughts?
aerolab cluster list -j
prints out AGI instances if they exist, butaerolab cluster list
does not.MIght be better to make these two commands synced. Preferably better to NOT return AGI instances when expecting clusters. This may also help fix the other issue #340
The text was updated successfully, but these errors were encountered: