Displaying 20 results from an estimated 600 matches similar to: "mysql-proxy vs. acts_as_readonlyable vs. ?"
2007 Apr 28
2
SQLRelay adapter for Rails?
I would like to use SQLRelay for database connection pooling and query-
based routing with a Rails application that I am just about done with.
It is my first Rails project, and I thought it might be wise to get
some feedback on this before I get too far in coding it.
>From what I can tell, I am going to have to write a connection adapter
for ActiveRecord if I want to use SQLRelay (http://
2008 Feb 29
0
acts_as_readonlyable in production?
Is anyone else using acts_as_readonlyable in production?
We have been using it in production for a few months now, but only recently
got a problem where 1 out of 100 inserts on one (out of 30+) tables is going
to the readonly db. Anyone seen something similar?
Thanks,
Marc
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2007 May 16
2
read.table opening a website incl Password
Dear all,
in the past I have been able to access websites with data directly. For
example the following code works nicely
mydata <-
read.table("http://www.lifetable.de/data/MPIDR/POL_2004.txt", header=TRUE)
But what happens if I need a username and password (a different site)?
How do I do that? Or is it not possible to this in R?
I tried something like this
mydata.frame <-
2005 Oct 24
2
Samba + LDAP + TLS
Hi!
I'm a bit new to Samba+LDAP integration, and most likely because of that
I experienced this morning something I can't fully understand. I would
appreciate if someone could explain to me what was really wrong.
So, our name server was unavailable this morning due to OS update.
Division's Samba and LDAP services are running on same server, and Samba
is using TLS in connecting to
2010 Dec 01
2
[RFC PATCH 4/4 v2] Btrfs: deal with filesystem state at mount, umount
Since there is a filesystem state, we should deal with it carefully at mount,
umount and remount.
- At mount, the FS state should be checked if there is error on these FS.
If it does have, btrfsck is recommended.
- At umount, the FS state should be saved into disk for consistency.
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
---
fs/btrfs/disk-io.c | 47
1999 Aug 06
2
Solaris 7 5/99 and samba-2.0.5a (PR#19508)
bob@hobbes.dtcc.edu wrote:
>
> this samba was built on a solaris 2.5 system and was running fine on a
> solaris 7 3/99 system. when i installed the solaris 7 5/99 maintenance
> update something broke.
>
> log.smb:
>
> [1999/08/06 11:04:41, 1] smbd/server.c:main(628)
> smbd version 2.0.5a started.
> Copyright Andrew Tridgell 1992-1998
> [1999/08/06 11:36:49,
2002 Feb 24
2
Write-only option
Hi!
I am doing backups from a number of machines to an rsync server. For some
time I was trying to come up with a solution, which would prevent users
from peeking at each other's files, which are backed up. Finally, I've
hacked rsync, introducing a new option "write only" for rsyncd.conf. When
set to true, this option forbids the transfers from server to the client,
thus solving
2003 May 14
1
Bug with Large Files on AIX
Hi,
on AIX, mkstemp doesn't open a file with the O_LARGEFILE option, so you
can't transfer files > 2GB to an AIX machine.
Here is a fix:
diff -c -r rsync-2.5.6.orig/syscall.c rsync-2.5.6/syscall.c
*** rsync-2.5.6.orig/syscall.c Sun Jan 26 21:09:02 2003
--- rsync-2.5.6/syscall.c Wed May 14 13:55:15 2003
***************
*** 151,157 ****
if (dry_run) return -1;
if
2015 Apr 03
3
[LLVMdev] why are volatile memory accesses ordered?
Marking volatile accesses as !unordered seems excessively
conservative. For instance, LLVM is not able to optimize
declare void @escape(i32*)
declare i32 @read_only(i32) readonly
define i32 @f(i1* %c) {
entry:
%a = alloca i32
%b = alloca i32
call void @escape(i32* %a)
call void @escape(i32* %b)
%a0 = load i32, i32* %b, align 4
%lv = load volatile i32, i32* %b
%a1 = load i32,
2023 Sep 22
1
rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?
On Fri, 2023-09-22 at 07:37 -0400, Kevin Korb wrote:
> So I decided to do a quick test using the Linux kernel source tree since
> it has lots of files.
Excellent idea using kernel sources! A lot of different files...
I will use this to create indicative benchmarks for different scenarios...
> ? I duplicated a tree, used 'find . -type f -exec
> chmod 444 {} +' to make read
2010 Feb 09
1
[PATCH] Use mount-options instead of mount to avoid implicit -o sync.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
-------------- next part --------------
>From 3ec1380eb6425b4f73024200817bd6b192d3b0b0 Mon Sep 17 00:00:00 2001
From: Richard
2019 May 10
11
[nbdkit PATCH 0/9] RFC: implement NBD_CMD_CACHE
I'm still working my way through the filters before this series will
be complete, but this is enough of a start to at least get some
feedback on the idea of implementing another NBD protocol extension.
Eric Blake (9):
server: Internal hooks for implementing NBD_CMD_CACHE
plugins: Add .cache callback
file, split: Implement .cache with posix_fadvise
nbd: Implement NBD_CMD_CACHE
2019 May 20
3
[nbdkit PATCH 0/2] More on .thread_model
Rich pointed out that making thread_model dynamic even for plugins
makes some sense, so here is the code for doing it for 'sh'.
I'm less confident on how to do it for OCaml and Rust (not to mention
that those allow the plugin to already compile in their model, rather
than the language binding glue forcing a model). The other languages
(lua, perl, python, ruby) still need to be
2015 Apr 03
2
[LLVMdev] why are volatile memory accesses ordered?
Dunno whether it's worthwhile, but we definitely test for it, and if
his two non-volatile loads were identical, we'd definitely eliminate
them in GVN.
On Thu, Apr 2, 2015 at 6:09 PM, Chandler Carruth <chandlerc at google.com> wrote:
> Could you explain why you think it is worthwhile to optimize code involving
> a volatile access?
>
> On Thu, Apr 2, 2015 at 6:08 PM
2018 Dec 14
6
[PATCH nbdkit 0/3] tests: Test export flags (eflags).
Some feature additions to the shell script plugin allow us to test the
export flags field reasonably easily.
Rich.
2012 Mar 28
2
[PATCH v2] New APIs: mount-local and umount-local using FUSE
This version doesn't crash or cause hung processes or stuck
mountpoints, so that's an improvement.
Rich.
2012 Mar 27
3
[PATCH 0/3] Enable FUSE support in the API via 'mount-local' call.
This patch is just for review.
It enables FUSE support in the API via two new calls,
'guestfs_mount_local' and 'guestfs_umount_local'.
FUSE turns out to be very easy to deadlock (necessitating that the
machine be rebooted). Running the test from the third patch is
usually an effective way to demonstrate this. However I have not yet
managed to produce a simple reproducer that
2018 Dec 15
5
[PATCH nbdkit v2 0/4] tests: Test export flags (eflags).
v1 was here:
https://www.redhat.com/archives/libguestfs/2018-December/thread.html#00123
v2:
- Document "-" instead of "script=-" and use it in the test; and
verify this also works on FreeBSD; and verify that it doesn't
depend on the particular behaviour of our wrapper script and should
work with installed nbdkit too.
- Fix handling of zero flags parameter.
-
2007 May 08
2
TDB functionality document
Hi,
Does someone know a document which explains the TDB structure.
functionalites, and format of the TDB files etc.
I need to understand why some of the TDBs like messages.tdb, unexpected.tdb,
brlock if not read_only, locking.tdb, session.tdb, wins.tdb are called with
TDB_CLEAR_IF_FIRST tdb flags.
Why some TDBs are opend with O_RDWR|O_CREAT flags viz. gencache.tdb,
group_mapping.tdb,
2012 Jan 30
1
[PATCH] guestmount: use O_ACCMODE instead of hard coding
Change hard code 3 to O_ACCMODE.
it'll be more sensible.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
fuse/guestmount.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fuse/guestmount.c b/fuse/guestmount.c
index bd7ba50..a9bf4e3 100644
--- a/fuse/guestmount.c
+++ b/fuse/guestmount.c
@@ -583,7 +583,7 @@ fg_open (const char *path, struct