Questions tagged [data-loss]
202 questions
2
votes
0 answers
could SQLite leave a file with zero bytes?
Update: One of my assumptions below was wrong. Our Macintosh build (which this user was using) in fact did not have data_deleted.db3 as part of the install. It was being created and populated on startup. So my best guess is that the file was…

M Katz
- 5,098
- 3
- 44
- 66
2
votes
0 answers
Always losing git history when switching PCs
I am using a SATA SSD that I always keep on myself and that I'm storing all my projects on.
Recently though, I started losing data when plugging the SSD into a PC after being plugged into another one (most files ended up being nothing but this…

Sv443
- 708
- 1
- 7
- 27
2
votes
1 answer
Entity Framework implement Code first Migrations and prevent data loss
I would like to know what would be the best guide to follow and things to consider if i would want to Add Migrations to a Project and note that the project:
is live (dev/staging/production environments)
Model of the live versions has changed and…

Dimitri
- 1,185
- 2
- 15
- 37
2
votes
0 answers
we are losing data in elastic search cluster
We make a poc with ElasticSearch but while doing it, we lost data in clustered enviroment. We use ES 2.4.0.
Can anyone say what we are missing?
Our scenario is:
Open Elastic Server-1 and Server-2 with the configurations below,
they are in a…

mustafa halil yıldız
- 1
- 1
- 5
2
votes
0 answers
Android Bluetooth SPP Loss/Corrupted Data
I'm attempting to transfer a large file (2.7MB) from a server device to an android device via bluetooth using SPP. Upon connection, the android device reads the bytes available and store into a buffer of 2.7MB. I am using the variable "counter"…

Devin Chen
- 71
- 3
2
votes
1 answer
node js how do you prevent data corruption when two users are editing the same file?
Im using a node.JS server for a test project im working on that involves a user connecting to the site via an app on their phone, and based on the URL used, will add that data to a doccument for access at a later time (not particualrly important as…

user2620255
- 137
- 1
- 6
2
votes
1 answer
Files saved in /Documents are being lost after a short period of time
I've got an app which saves images (JPEGs) and text files in the app's documents directory. I have tested it in the xcode simulator and on two iPhones (4 and 5, running ios 7.1 and 8.1 respectively), and it works exactly as expected, and the data is…

Stephen Betts
- 41
- 4
2
votes
1 answer
How to avoid warnings about possible loss of data?
There is quite old code that I got, where exist such days delay calculation:
#define _SECOND ((ULONGLONG) 10000000)
#define _MINUTE (60 * _SECOND)
#define _HOUR (60 * _MINUTE)
#define _DAY (24 * _HOUR)
FILETIME…

Arkady
- 2,084
- 3
- 27
- 48
2
votes
1 answer
Google Cloud SQL data loss
I have recently started using google cloud sql as the backend for an api. Today whilst adding a new IP to the access control the DB went down. I restarted it after a while and when it came back up several tables of data had been lost.
I have it set…

DevMoss
- 21
- 1
2
votes
3 answers
C: socket connection and data loss
I have a client and a server that communicate via sockets. I set them up like this:
sockfd = socket(AF_INET, SOCK_STREAM, 0);
...
The client contacts the server and the server sends a response (in my test case 2906 byte):
n = write(newsockfd,…

user2504694
- 43
- 1
- 6
2
votes
2 answers
One of my table are suddenly gone, how do I trace this?
So I just noticed one of my table have been dropped/deleted, I am using MySQL anyway I can trace or see logs of this?
I have no idea where to start look.

John
- 2,900
- 8
- 36
- 65
2
votes
2 answers
losing data while writing through asynchronousFileChannel in java
I am trying to use asynchronousFileChannel to write the date into a text file. I made 3 jar file of the program with the AsynchronousFileChannel and compiled all 3 jars simultaneously through command prompt to read 3 different text files and output…

Deepak Sharma
- 101
- 9
2
votes
2 answers
Losing data with jQuery.data()
I'm working on a utility web app that to help manipulate some domain-specific XML data.
The flow goes like this:
Load XML file
Parse XML file using the browser's native XML objects (not jQuery!) and convert into JavaScript object.
Store resulting…

Daniel Schaffer
- 56,753
- 31
- 116
- 165
2
votes
4 answers
Data loss even if remote socket is gracefully closed in java
I am using TCP in my application. I am facing data loss issue if even if close socket gracefully.
Here is the two sample program to replicate scenario.
//TCP Sender program continuously sends data
public class TCPClient {
public static void…

Cooper Khan
- 65
- 5
2
votes
1 answer
python long number data loss
i am just starting with python (python3) because i read its good for the euler project since it can handle very big numbers.
now i am struggling with a quite simple problem of converting float to int. Why don't i get the same result for this:
num = …

santa
- 192
- 1
- 11