Subject | RE: [IBO] Re: Generator not incrementing |
---|---|
Author | Support List |
Post date | 2011-11-09T15:57:03Z |
Ed,
I'm not really sure what I can do about this problem from within IBO since
it is obviously a problem where the server instance experiences a crash.
Whenever you end task an embedded application the whole instance of the
server is also crashed. Have you looked at only using a database with forced
writes enabled? That should make the difference you need to be sure that
when the server is crashed that the increment of the generator is written to
disk. Seems to me it would be a good idea for the firebird development team
to make it so that under all circumstances the generator is written to disk
when incremented. You might want to suggest that to them.
Jason
I'm not really sure what I can do about this problem from within IBO since
it is obviously a problem where the server instance experiences a crash.
Whenever you end task an embedded application the whole instance of the
server is also crashed. Have you looked at only using a database with forced
writes enabled? That should make the difference you need to be sure that
when the server is crashed that the increment of the generator is written to
disk. Seems to me it would be a good idea for the firebird development team
to make it so that under all circumstances the generator is written to disk
when incremented. You might want to suggest that to them.
Jason
> -----Original Message-----
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On
> Behalf Of Ed Dressel
> Sent: Tuesday, November 08, 2011 8:38 AM
> To: IBObjects@yahoogroups.com
> Subject: [IBO] Re: Generator not incrementing
>
> Jason:
>
> I posted this link on Aug 13th with the following comments:
>
> <quote>
> www.tbinc.com/misc/GeneratorNotIncremented.zip
>
>
> To reproduce the problem, run the demo app (it has it's own database) in
> embedded mode (the 1.5.6 DLL is included). Click on the "Increment
> Generator" button. Then click on "End Task" which calls the exception. Re-
> run the demo and (at least for me) the generator is not incremented.
>
> I would appreciate any comments. I have thousands of users and
> occasionally one of them has a critical failure. This creates a support
> nightmare for me.
> </quote>
>
> I spent several hours isolating the problem and creating the demo.
>
> Were you not able to reproduce it from that?
>
> Ed Dressel
>
>
>
> --- In IBObjects@yahoogroups.com, "Support List" <supportlist@...> wrote:
> >
> > Ed,
> >
> >
> >
> > > -----Original Message-----
> > > Behalf Of Ed Dressel
> > > Sent: Wednesday, November 02, 2011 8:51 AM
> > > To: IBObjects@yahoogroups.com
> > > Subject: [IBO] Re: Generator not incrementing
> > >
> > > > Jason--is this something you can fix? It sounds like at least one
> > > > other person has the same problem.
> > >
> > > Jason? .... this isn't a theoretical problem. It's real and starting
> to
> > > cost me a lot of time.
> >
> > So far I have not been able to identify the cause of it. Can you help me
> by
> > putting together a sample app that consistently reproduces the problem?
> >
> > Jason