Re: Corrupted database over network - WinNT
Matt Oberle <[email protected]> Tue, 13 Feb 2007 13:47:03 -0700
| Newsgroups | gmane.comp.db.metakit |
|---|---|
| Message-ID | <OF19B710BB.DEDBDD67-ON87257281.007152DC-87257281.00722BD9@fs.fed.us> |
Pat, I would also be grateful if you could send me a copy of your c4_FileStrategy. Regards, Matt Oberle Pat, I'm running a far less ambitious but similarly configured ( Windows network ) shared database and, despite arbitrating access, have experienced some of the trouble you and Hector are talking about. I would be very grateful if you would send me a copy of the c4_FileStrategy scheme that you have implemented - it certainly sounds like you've cracked the problem. Regards, Phil Bennett -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Pat Thoyts Sent: 13 February 2007 15:28 To: [email protected] Cc: [email protected] Subject: Re: [Metakit] Corrupted database over network - WinNT <[email protected]> writes: >> As I mentioned in an earlier post -- the solution is to ensure that >> metakit files on network shares are opened for exclusive access. You >> can write your own c4_FileStrategy implementation to handle this and >> use it in the c4_Storage constructor. The PathIsNetworkPath Win32 API >> is also a useful function here. > >No, you can't prevent an antivirus from scanning your file. Just >looking at the file attributes is enough to corrupt it (if it's >followed by another commit). At least, it is what I observe with my >program. If you too have an application that can commit to a metakit >file through a network, please make the test and tell me if you >observe the same corruption. Maybe it's my program's fault, but >sincerely I doubt it. I can't post you the whole lot but I can give you the re-implementation of c4_FileStrategy that we use. We have some 32GB of data in over 18000 files on a Windows network shared storage and none of them are corrupt and people do use them over the network share. -- Pat Thoyts http://www.patthoyts.tk/ PGP fingerprint 2C 6E 98 07 2C 59 C8 97 10 CE 11 E6 04 E0 B9 DD _____________________________________________ Metakit mailing list - [email protected] http://www.equi4.com/mailman/listinfo/metakit -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.17.37/682 - Release Date: 12/02/2007 13:23 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.17.37/682 - Release Date: 12/02/2007 13:23 _____________________________________________ Metakit mailing list - [email protected] http://www.equi4.com/mailman/listinfo/metakit _____________________________________________ Metakit mailing list - [email protected] http://www.equi4.com/mailman/listinfo/metakit