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
When a server is configured with the authorization block (implicitly using the global account $G), it is currently not possible to declare a user for the system account. This requires the accounts block to be defined either specifying a user for $SYS (implicit system account name) or a new account declared via the system_account option.
However, migrating from the authorization block to accounts currently not possible (whether the system account is in need or not). Declaring $G as an account in accounts currently errors indicating $G is a reserved account. As a result, a new account name would need to be used when moving to accounts.
This is problematic specifically for JetStream since account names are used as the folders on disk to store stream data. The workaround would be to backup and restore the data from global account to the new account, however this requires downtime (and not a nice user experience).
Proposed Change:
Either support $G in the accounts block to support this migration path or introduce a global_account config option analogous to system_account to explicitly map a new name in accounts to the underlying implicit account, e.g. $G and $SYS.
Who Benefits From The Change(s)?
Anyone who starts out in single account mode and wants to expand to multiple accounts or forgets/is unaware of needing to explicitly enable the system account with users.
Alternative Approaches
Backup and restore JetStream data to a new account.
The text was updated successfully, but these errors were encountered:
Funnily enough we stumbled upon this just today. This would be very helpful. I presumed that imports and exports could be defined on the global account, but no dice.
Feature Request
Use Case:
When a server is configured with the
authorization
block (implicitly using the global account$G
), it is currently not possible to declare a user for the system account. This requires theaccounts
block to be defined either specifying a user for$SYS
(implicit system account name) or a new account declared via thesystem_account
option.However, migrating from the
authorization
block toaccounts
currently not possible (whether the system account is in need or not). Declaring$G
as an account inaccounts
currently errors indicating$G
is a reserved account. As a result, a new account name would need to be used when moving toaccounts
.This is problematic specifically for JetStream since account names are used as the folders on disk to store stream data. The workaround would be to backup and restore the data from global account to the new account, however this requires downtime (and not a nice user experience).
Proposed Change:
Either support
$G
in theaccounts
block to support this migration path or introduce aglobal_account
config option analogous tosystem_account
to explicitly map a new name inaccounts
to the underlying implicit account, e.g.$G
and$SYS
.Who Benefits From The Change(s)?
Anyone who starts out in single account mode and wants to expand to multiple accounts or forgets/is unaware of needing to explicitly enable the system account with users.
Alternative Approaches
Backup and restore JetStream data to a new account.
The text was updated successfully, but these errors were encountered: