Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Expiration bundle deletes too early?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daniel Lidström  
View profile  
 More options Jul 14 2012, 10:37 am
From: Daniel Lidström <dlidst...@gmail.com>
Date: Sat, 14 Jul 2012 07:37:15 -0700 (PDT)
Local: Sat, Jul 14 2012 10:37 am
Subject: Expiration bundle deletes too early?

Hello

Check out this query to the expiration bundle index:

http://localhost:8081/indexes/Raven/DocumentsByExpirationDate?query=E...

The query is Expiry:[* TO 20120714142000]. The result of the query can be
seen below:

{
    "IdsToInclude": [],
    "Results": [{
        "ApplicationName": "Snittlistan",
        "Created": "2012-07-14T14:27:31.9505674Z"
,
        "Expires": "2012-08-13T14:27:35.1347495Z",
        "LockDate": "2012-07-14T14:27:34.8857352Z",
        "LockId": 4,
        "Locked": false,
        "SessionItems": "",
        "Flags": "None",
        "@metadata": {
            "Raven-Entity-Name": "SessionStates",
            "Raven-Expiration-Date": "2012-08-13T14:27:35.1347495Z",
            "Raven-Clr-Type":
"Snittlistan.Infrastructure.SessionProvider.SessionState, Snittlistan",
            "Last-Modified": "2012-07-14T14:27:35.1550000",
            "Non-Authoritative-Information": false,
            "@id": "l5w10ni0oozab03fj1yv3cxe",
            "Temp-Index-Score": 1.0,
            "@etag": "00000000-0000-1900-0000-0000000000c5"
        }
    }],
    "Includes": [],
    "IsStale": false,
    "IndexTimestamp": "2012-07-14T14:27:35.1550000",
    "TotalResults": 1,
    "SkippedResults": 0,
    "IndexName": "Raven/DocumentsByExpirationDate",
    "IndexEtag": "00000000-0000-1900-0000-0000000000c5",
    "ResultEtag": "9c400c47-1c99-2387-d4aa-cf4adda2de6f",
    "NonAuthoritativeInformation": false

}

Apparently this query by the expiration bundle finds an entity that should
expire in 30 days, and subsequently deletes it.
What's going on here? I am using unstable 2033.

/Daniel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Jul 15 2012, 3:56 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Sun, 15 Jul 2012 10:56:33 +0300
Local: Sun, Jul 15 2012 3:56 am
Subject: Re: [RavenDB] Expiration bundle deletes too early?

Can you reproduce this?

On Sat, Jul 14, 2012 at 5:37 PM, Daniel Lidström <dlidst...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Lidström  
View profile  
 More options Jul 15 2012, 6:55 am
From: Daniel Lidström <dlidst...@gmail.com>
Date: Sun, 15 Jul 2012 12:55:46 +0200
Local: Sun, Jul 15 2012 6:55 am
Subject: Re: [RavenDB] Expiration bundle deletes too early?

Here's a repro. I am using unstable 2033 and I've put the expiry bundle in
Server/Plugins. The attached program shows that the document is deleted
when the expiry bundle is activated. The output is this:

2012-07-15 12:25:21: Found document SessionStates/1
2012-07-15 12:25:41: Found document SessionStates/1
2012-07-15 12:26:01: Found document SessionStates/1
2012-07-15 12:26:21: Found document SessionStates/1
2012-07-15 12:26:41: Found document SessionStates/1
2012-07-15 12:27:01: Found document SessionStates/1
2012-07-15 12:27:21: Found document SessionStates/1
2012-07-15 12:27:41: Found document SessionStates/1
2012-07-15 12:28:01: Found document SessionStates/1
2012-07-15 12:28:21: Found document SessionStates/1
2012-07-15 12:28:41: Found document SessionStates/1
2012-07-15 12:29:01: Found document SessionStates/1
2012-07-15 12:29:21: Found document SessionStates/1
2012-07-15 12:29:41: Found document SessionStates/1
2012-07-15 12:30:01: Found document SessionStates/1
Document deleted early!

/Daniel

2012/7/15 Oren Eini (Ayende Rahien) <aye...@ayende.com>

--
Daniel

  2012-07-15.log
29K Download

  Program.cs
2K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Jul 15 2012, 8:40 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Sun, 15 Jul 2012 15:40:47 +0300
Local: Sun, Jul 15 2012 8:40 am
Subject: Re: [RavenDB] Expiration bundle deletes too early?

Hi,
Reproduced, I think the reason is that we didn't update the expiration
bundle to support the new index date time format.
Checking now and a fix will be in the next build

On Sun, Jul 15, 2012 at 1:55 PM, Daniel Lidström <dlidst...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Lidström  
View profile  
 More options Jul 15 2012, 11:24 am
From: Daniel Lidström <dlidst...@gmail.com>
Date: Sun, 15 Jul 2012 17:24:27 +0200
Local: Sun, Jul 15 2012 11:24 am
Subject: Re: [RavenDB] Expiration bundle deletes too early?

Ok, thanks

2012/7/15 Oren Eini (Ayende Rahien) <aye...@ayende.com>

--
Daniel

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »