Questions tagged [crash-recovery]

11 questions
8
votes
2 answers

Electron recovery after crash on render process

I'm building an electron app that must reload the render process window if a crash happens. Currently I can restart the app from the main process app.relaunch(); app.quit(); But I cannot detect the window crashing. I tried using the…
Carlinho89
  • 157
  • 2
  • 14
7
votes
4 answers

Good Architecture/Library For Robust Plugin/Addon Management

We have an application which, as one of its requirements, will take arbitrary 3rd party plugins, load them, and run their UI alongside our home-grown application. We've been loading these 3rd party plugins into their own AppDomains for isolation…
GWLlosa
  • 23,995
  • 17
  • 79
  • 116
3
votes
2 answers

How to call ENDCMTCTL with pending changes?

My iSeries ILE program crashed with uncommitted changes. Now I wish to end commitment control (to start program again, program starts commitment control itself) with ENDCMTCTL, but it fails with message: CPF8355 - ENDCMTCTL not allowed. Pending…
Piro
  • 1,367
  • 2
  • 19
  • 40
1
vote
2 answers

Building a crash tolerant serial number generator via log files

I've got a system that is basically a serial number generator. There are two main design requirements of the serial number generator (in terms of fault tolerance): All serial numbers issued must be unique (no duplicates) If the serial number…
jefflunt
  • 33,527
  • 7
  • 88
  • 126
1
vote
1 answer

How do I check rebuild is complete after losing a replica?

I am using OpenEBS with Jiva. I have MySQL pod running on OpenEBS with 3 replicas. My DB is around 10GB with the actual volume size ~30GB After I lose a replica, new replica span up. Assuming that it starts replicating data immediately; 1) How do I…
prabhat
  • 77
  • 5
1
vote
1 answer

Could anyone explain why is Write-Ahead Log the use NO-FORCE?

As I searched online, STEAL and FORCE is defined as follows FORCE or NO-FORCE: Should all updates of a transaction be forced to disk before the transaction commits? Besides, I was told that A transaction is not considered committed until all…
Y_KL
  • 239
  • 2
  • 5
  • 13
0
votes
1 answer

Why we should not have the collective size of innodb_log_files more than the size of the innodb_buffer_pool

Below is my understanding about the log file group. Whenever innodb tables were inserted/updated those will be captured in innodb_log_buffer_size. If the innodb_log_buffer_size filled up or time has come to flush it to the disc, they will be written…
Uday
  • 1,480
  • 4
  • 27
  • 44
0
votes
1 answer

Notepad++ fixing after a crash, interpreting the .dmp interpretation

My notepad++ experienced a crash after I attempted renaming a file when it was closed and restarted the program. According to the .dmp information it was reading/writing to virtual memory without permission. Here's some additional information to…
Mnescat
  • 195
  • 1
  • 13
0
votes
1 answer

In a distributed program, how to recovey its corresponding data when a process crashes

I have a distributed program, for example, it has ten process, and all of them will execute some job, all job info will storage to a same MySQL database. At a same moment, there was a lot of running job in database, and they are belong to different…
0
votes
1 answer

Is it possible to verify data of multiple sequential writes just by checking the last n bytes written?

Just to be clear, my questions are language/OS agnostic (independent). I am working on a program (support many OSs, currently written in Golang) that receive many chunks of data (like a stream of data chunks) and sequentially write it all down to a…
-1
votes
1 answer

How to know if a MapReduce job has restarted or is a fresh start?

I've a MapReduce job which I run using job.waitForCompletion(true). If one/more reducer task gets killed or crashes during the execution of the job, the entire MapReduce job is restarted and mappers and reducers are executed again (documentation).…
avp
  • 2,892
  • 28
  • 34