ondra-novak opened a new issue #984: Blocker old bug: update_seq of the view is set to zero after compaction URL: https://github.com/apache/couchdb/issues/984 After compaction of the view (not _info), update seq is reset to zero. ## Expected Behavior Update_seq ought to persist ## Current Behavior Update_seq is reset to zero during or after compaction ## Possible Solution fix it ## Steps to Reproduce (for bugs) 1. create view 2. feed with some data 3. check update_seq and remember (&update_seq=true) 4. compact the view 5. now check the update_seq again ## Context I am trying to create stream of changes which is initialized from the view. Common scenario is: 1) query view and update_seq 2) monitor changes from the update_seq returned by the view ## Your Environment {"couchdb":"Welcome","version":"2.1.1","features":["scheduler"],"vendor":{"name":"The Apache Software Foundation"}} ## Example of result total_rows":500,"offset":0,"update_seq":"**0-g2wAAAABaANkABFjb3VjaGRiQDEyNy4wLjAuMWwAAAACYQBuBAD_____amEAag**","rows":[ {"id":"o.1eDpbvT74bkV0ux7HrHg","key":1510482931,"value":null}, {"id":"o.1eDpc1T74elEZ4Lp59Ye","key":1510482937,"value":null}, {"id":"o.1eDpc1T74faGIb297jKL","key":1510482938,"value":null}, {"id":"o.1eDpc2T74idp04YSOhCE","key":1510482938,"value":null}, {"id":"o.1eDpc2T74k1tnW9z3SJy","key":1510482938,"value":null}, {"id":"o.1eDpc3T74l5srIbkwVh7","key":1510482939,"value":null}, {"id":"o.1eDpc3T74n1Wvr3NYkT0","key":1510482939,"value":null}, {"id":"o.1eDpc3T74oXJoxyzxEQ1","key":1510482939,"value":null}, {"id":"o.1eDpc3T74pJq9HJIZyVb","key":1510482939,"value":null}, {"id":"o.1eDpc3T74qe0oR5Jw4nb","key":1510482940,"value":null}, {"id":"o.1eDpc4T74rltlVYBI5xH","key":1510482940,"value":null}, {"id":"o.1eDpc4T74sd8kD1RVSTf","key":1510482940,"value":null}, {"id":"o.1eDpc4T74tSaZlqIg6Px","key":1510482940,"value":null}, {"id":"o.1eDpc4T74uKmSg0OlANd","key":1510482940,"value":null}, ## IMPORTANT NOTE This bug was not fixed from the 1.6!
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
