Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge SharedDatabase/SharedCache into single parameter ServerMode, affecting the way how server is started [CORE4871] #5167

Closed
firebird-automations opened this issue Jul 10, 2015 · 9 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @AlexPeshkoff

Jira_subtask_inward CORE4481

New parameter ServerMode should have 3 possible values: Super (or ThreadedDedicated), SuperClassic (or ThreadedShared), Classic (or MultiProcess) and except making engine choose correct mode control behavior of firebird server at startup to make it run in correct way.

Commits: 8ccbb7f e420019 FirebirdSQL/fbt-repository@f3012fd FirebirdSQL/fbt-repository@b047ab1

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

Fix Version: 3.0 RC 1 [ 10584 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @aafemt

It doesn't look like a good idea for me. Database cache operating mode and multithreadness are different things, IMHO.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @sim1984

As you make a single parameter setting mode server, it may be worth remove utility instsv this is

   instsvc i [nstall] [-s [uperserver] * | -c [lassic]]

@firebird-automations
Copy link
Collaborator Author

Commented by: @ibaseru

so, now we lost fourth mode
SharedCache = False
ShatedDatabase = False

or, this combination was a nonsense?

and SharedCache = true + SharedDatabase = True was equal to SuperClassic?

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

SharedCache = False
and
SharedDatabase = False
means a forced single connection mode, its value is rather questionable.

SharedCache = True
and
SharedDatabase = True
was not supported in FB3 anyway (error is thrown).

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

> SharedCache = False
> ShatedDatabase = False

Single user mode? If we really need it, it's pretty easy to add it to servermode, but I see no way how can it be useful.
PS. sometimes ago interbase had single user connections, some code remaining from it was cleaned up in one of 2.x versions.
PPS. We have a way to shutdown DB to single user mode, no reason to dup that functionality.

> and SharedCache = true + SharedDatabase = True was equal to SuperClassic?

Choice between classic/superclassic was done by a way how firebird is started, not by .conf settings.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants