Questions tagged [data-loss]

177 questions
24
votes
4 answers

How to recover deleted rows from SQL server table?

I accidentaly ran a DELETE command against a table with a wrong WHERE clause. I am using SQL Server 2005. Is there a way that could help me recover the lost data?
Amr Badawy
  • 6,805
  • 12
  • 46
  • 81
16
votes
4 answers

How to prepare for data loss in a production website?

I am building an app that is fast moving into production and I am concerned about the possibility that due to hacking, some silly personal error (like running rake db:schema:load or rake db:rollback) or other circumstance we may suffer data loss in…
sscirrus
  • 50,379
  • 41
  • 125
  • 211
14
votes
6 answers

Using named pipes with bash - Problem with data loss

Did some search online, found simple 'tutorials' to use named pipes. However when I do anything with background jobs I seem to lose a lot of data. [[Edit: found a much simpler solution, see reply to post. So the question I put forward is now…
asoundmove
  • 1,204
  • 3
  • 14
  • 26
11
votes
3 answers

GAE Go - "This request caused a new process to be started for your application..."

I've encountered this problem for a second time now, and I'm wondering if there is any solution to this. I'm running an application on Google App Engine that relies on frequent communication with a website through HTTP JSON RPC. It appears that GAE…
ThePiachu
  • 7,295
  • 15
  • 57
  • 93
9
votes
1 answer

How to effectively use a String as a WeakHashMap key in Java, or an alternative solution

I am managing a project in Java that stores user data. Users can be online, or offline. When users are online, their data is loaded into the data object for easy accessibility, and offloaded when they log off. However, for offline users, in the…
CorrieKay
  • 181
  • 1
  • 4
  • 15
9
votes
6 answers

Android SQLite Upgrade without losing data

I have created a SQLite database successfully and it works fine. However when the onUpgrade method is called, I'd like to do so without losing data. The app I'm developing is a quiz app. Simply, when the onCreate method is called I create and…
AndroidPenguin
  • 3,435
  • 2
  • 18
  • 40
8
votes
2 answers

Angular data loss on reload using BehaviorSubject

I'm using a data service to send the user data to the app and display the username in my header component. If I sign in in my app with login component the username is correctly displayed, but when I reload the page the user data disappears. on login…
ufollettu
  • 632
  • 1
  • 11
  • 38
6
votes
4 answers

Strange git case - git stash followed by git stash apply lost uncommitted data?

I have a file, let's say file.txt I have done git mv file.txt to file1.txt, then I created a new file called file.txt and worked on it. Unfortunately I didn't add that file to git yet. Anyway the problem is that I did git stash, then git stash…
khelll
  • 22,128
  • 15
  • 84
  • 108
5
votes
6 answers

MySQL MyISAM data loss possibilities?

Many sites and script still use MySQL instead of PostgreSQL. I have a couple low-priority blogs and such that I don't want to migrate to another database so I'm using MySQL. Here's the problem, their on a low-memory VPS. This means I can't enable…
Xeoncross
  • 50,836
  • 73
  • 238
  • 351
5
votes
2 answers

Cassandra is configured to lose 10 seconds of data by default?

As the data in the Commitlog is flushed to the disk periodically after every 10 seconds (controlled by commitlog_sync_period_in_ms), so if all replicas crash within 10 seconds, will I lose all that data? Does it mean that, theoretically, a Cassandra…
Aliaksandr Kazlou
  • 2,941
  • 5
  • 23
  • 33
5
votes
0 answers

How to prevent Android app data loss during update (random issue)

I'm developing an Android app and have been publishing weekly update for the past 3 years. From time to time I have users telling me that the app lost all its content after a recent update. There's no code to remove the app data dynamically in my…
user1026605
  • 1,414
  • 3
  • 22
  • 50
5
votes
4 answers

Java: BufferedReader reads more than a line?

I'm making a program in Java with Sockets. I can send commands to the client and from the client to the server. To read the commands I use a BufferedReader. To write them, a PrintWriter But now I want to transfer a file through that socket (Not…
Martijn Courteaux
  • 63,780
  • 43
  • 187
  • 279
4
votes
2 answers

Does cassandra flush memtables on nodetool stopdaemon. If not what to do to avoid data loss

I am using apache-cassandra-3.10 I understand instead of kill -9 pid, the only way to stop cassandra gracefully is nodetool stopdaemon. But I want to know if nodetool stopdaemon also flushes the data in the memtables to sstables before shutdown. If…
Syed Ammar Mustafa
  • 343
  • 1
  • 6
  • 17
4
votes
2 answers

RAD Studio 2009 Ctrl+Z Buffer Corruption Bug

Now this has happened to me twice this week alone: when I press Ctrl+Z a number of times in RAD Studio 2009, the editor buffer gets corrupted. The current and nearby lines get filled with nonsense data, and sometimes a breakpoint is created…
Andreas Rejbrand
  • 95,177
  • 8
  • 253
  • 351
4
votes
2 answers

SerialPort received data lost at high baudrates when stream contains 0x1A

I am implementing a C# application which reads binary data from a microcontroller at a high baudrate (8 MegaBaud) using an USB-Serial adapter (FTDI FT232H). The problem is when the stream contains 0x1A, sometimes a big chunk of data (thousands of…
nnn
  • 2,059
  • 10
  • 16
1
2 3
11 12