Login | Register
My pages Projects Community openCollabNet

Discussions > users > Problems: "Transaction is out of date" and "Invalid argument"

fsvs
Discussion topic

Back to topic list

Problems: "Transaction is out of date" and "Invalid argument"

Author mmm4m5m
Full name Mmm Mmm
Date 2009-06-01 12:01:56 PDT
Message Hi again,


Looks like the problems gone. Take a look (sorry, it is long):


# fsvs unversion /bin/star
d... 299416 /bin/star


# fsvs unversion /sys
d... dir /sys


# fsvs commit -m 'autoupdate: virtualbox (from virtualbox web repository)'
Committing to file://localhost/med​ia/backup/backup/fsv​s/trunk/base
d... dir sys
.m.. dir proc

An error occurred: Transaction is out of date (160028)
   in ci___set_props: function: Out of date: '/trunk/base/proc' in
transaction '218-1'


# fsvs unversion /proc
d... dir /proc


# fsvs commit -m 'autoupdate: virtualbox (from virtualbox web repository)'
Committing to file://localhost/med​ia/backup/backup/fsv​s/trunk/base
d... dir sys
d... dir proc
.mC. dir dev
d... dir dev/pts
.m.. 0 dev/.initramfs-tools

An error occurred: Transaction is out of date (160028)
   in ci__directory: open_file
root@plamen-vaio:/# fsvs info /bin/star -vv -C
root@plamen-vaio:/# fsvs sync-repos


# fsvs sync-repos | tail -n 200

An error occurred: Invalid argument (22)
   in ops__string_to_dev: 'ELF' is not parseable as a special description


# fsvs commit -m 'fsvs: try fix' /sys
Committing to file://localhost/med​ia/backup/backup/fsv​s/trunk/base
d... dir /sys
committed revision 219 on 2009-06-01T18:16:10.466620Z as root


# fsvs commit -m 'autoupdate: virtualbox (from virtualbox web repository)'
Committing to file://localhost/med​ia/backup/backup/fsv​s/trunk/base
d... dir proc
...
committed revision 220 on 2009-06-01T18:17:48.668907Z as root


# fsvs commit -m 'autoupdate: virtualbox (from virtualbox web
repository) - again'
...
N... dir proc
committed revision 221 on 2009-06-01T18:19:49.678043Z as root


###
### commit is working now
### removed ignore /dev/pts
###


# fsvs commit -m 'try /dev/pts'
Committing to file://localhost/med​ia/backup/backup/fsv​s/trunk/base
..C. dir dev/pts
N... dev dev/pts/0
N... dev dev/pts/1
N... dev dev/pts/2
.m.. dev dev/ptmx

An error occurred: Transaction is out of date (160028)
   in ci__directory: open_file


# fsvs commit -m 'try /dev/pts again'
Committing to file://localhost/med​ia/backup/backup/fsv​s/trunk/base
..C. dir dev/pts
N... dev dev/pts/0
N... dev dev/pts/1
N... dev dev/pts/2
.m.. dev dev/ptmx

An error occurred: Transaction is out of date (160028)
   in ci__directory: open_file


###
### ignore /dev/pts added again
###


# fsvs commit -m 'try fix'
Committing to file://localhost/med​ia/backup/backup/fsv​s/trunk/base
.m.. dev dev/ptmx

An error occurred: Transaction is out of date (160028)
   in ci__directory: open_file


# fsvs commit -m 'try fix' /dev/ptmx
Committing to file://localhost/med​ia/backup/backup/fsv​s/trunk/base
.m.. dev /dev/ptmx

An error occurred: Transaction is out of date (160028)
   in ci__directory: open_file


# fsvs unversion /dev/ptmx
d... dev /dev/ptmx


# fsvs commit -m 'try fix'
Committing to file://localhost/med​ia/backup/backup/fsv​s/trunk/base
d... dev dev/ptmx
.m.. dir tmp

An error occurred: Transaction is out of date (160028)
   in ci___set_props: function: Out of date: '/trunk/base/tmp' in
transaction '221-1'


# fsvs commit -m 'try fix' /dev/ptmx
Committing to file://localhost/med​ia/backup/backup/fsv​s/trunk/base
d... dev /dev/ptmx
committed revision 222 on 2009-06-01T18:28:47.462998Z as root


# fsvs commit -m 'fsvs: try fix' /dev/ptmx
Committing to file://localhost/med​ia/backup/backup/fsv​s/trunk/base
..C. dir /dev
N... dir /dev/ptmx
committed revision 223 on 2009-06-01T18:28:54.243329Z as root


# fsvs urls dump
name:,prio:0,target:​HEAD,ro:223,file://l​ocalhost/media/backu​p/backup/fsvs/trunk/​base


# ls -l /etc/fsvs
drwxr-xr-x 2 root root 4096 2009-05-28 20:48
6666cd76f96956469e7b​e39d750cc7d9
drwxr-xr-x 2 root root 4096 2009-06-01 18:41
d73ade42b8f359af27c0​4e3a32c3f10f


# ls -l /var/spool/fsvs/
drwxr-xr-x 258 root root 4096 2009-06-01 21:28 6666
drwxr-xr-x 3 root root 4096 2009-06-01 18:41 d73a


###
### Why 2 dirs but one URL. Few days back it was one directory
6666cd76f96956469e7b​e39d750cc7d9 and '6666'
###


###
### I deleted these extra directories
### then 'fsvs commit'
### then 'fsvs sync-repos'
### It is all working now!
###



I decide to try to NOT ignore /dev/pts. It created problems in past,
wanted to check how it is now. I know, you said - ignore /dev
completely, but I want this history, plus I want to see permission changes.

Anyway, as I see it, some file create problem (/dev/pts), but the next
file is affected (/dev/ptmx). After 'delete, commit, commit' /dev/ptmx
(commit again because it is not ignored - first is deleted, then it is
added as new), then the problem gone.

The problem in my previous email, could be (maybe) because when I run
'fsvs commit' I decided to check something. So I interrupt it with ctrl+C.

For the record, I often have similar problems. But if I use fsvs
carefully, it works fine. If I use ctrl+C or if the process (commit) is
interrupted because of error, then I do not know what to expect next.
For me, this is a weak area.


Kind regards,
Plamen.

« Previous message in topic | 13 of 16 | Next message in topic »

Messages

Show all messages in topic

how to best remove extra working copies hughmiller at chevron dot com hughmiller at chevron dot com 2008-12-24 22:19:51 PST
     Re: how to best remove extra working copies pmarek P.Marek 2008-12-26 11:25:33 PST
         RE: Re: how to best remove extra working copies hughmiller at chevron dot com hughmiller at chevron dot com 2008-12-27 11:38:10 PST
             Re: how to best remove extra working copies pmarek P.Marek 2008-12-28 01:26:05 PST
                 RE: Re: how to best remove extra working copies hughmiller at chevron dot com hughmiller at chevron dot com 2008-12-30 21:06:25 PST
                     Re: how to best remove extra working copies pmarek P.Marek 2008-12-31 02:06:20 PST
                         RE: Re: how to best remove extra working copies hughmiller at chevron dot com hughmiller at chevron dot com 2008-12-31 10:45:20 PST
                         RE: how to best remove extra working copies "Miller, Hugh" <HughMiller at chevron dot com> "Miller, Hugh" <HughMiller at chevron dot com> 2009-04-29 18:31:43 PDT
     RE: how to best remove extra working copies pmarek P.Marek 2009-04-30 02:10:38 PDT
         Re: how to best remove extra working copies mmm4m5m Mmm Mmm 2009-06-01 10:52:54 PDT
             Re: how to best remove extra working copies pmarek P.Marek 2009-06-02 00:21:03 PDT
         Problems: "Transaction is out of date" and "Invalid argument" mmm4m5m Mmm Mmm 2009-06-01 11:05:31 PDT
         Problems: "Transaction is out of date" and "Invalid argument" mmm4m5m Mmm Mmm 2009-06-01 12:01:56 PDT
             Re: Problems: "Transaction is out of date" and "Invalid argument" pmarek P.Marek 2009-06-02 00:31:23 PDT
                 Re: Problems: "Transaction is out of date" and "Invalid argument" mmm4m5m Mmm Mmm 2009-06-02 04:01:50 PDT
     Re: how to best remove extra working copies pmarek P.Marek 2009-06-02 00:23:29 PDT
Messages per page: