Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update to work with ZODB5. #31

Merged
merged 4 commits into from
Jun 9, 2016
Merged

Conversation

jimfulton
Copy link
Member

Mostly, this involves fixing lastTransaction, but also includes other tweaks to work (um, tests pass) with ZODB5 (zopefoundation/ZODB#56) and current ZODB.

Note that several tests fail for me on master, likely due to problem in my setup and some change in pickling (probably zodbpickle). These changes neither fix nor make the existing failures worse.

Jim Fulton added 4 commits May 17, 2016 13:32
By reflecting information gaind when polling.

This is important because https://github.com/zopefoundation/ZODB/pull/56/files
depends on a working lastTransaction method to set transaction start times.
- Change default for storage sync force to False.

- Reduced ths monkey patch in relstorage.__init__.py to work with
  current ZODB and with ZODB 5.

- Changed a test that tested for delayed polling to ignore non-delay
  under ZODB 5.
The constructor signature for TmpStore changed again. (It's private, dang it.)
jimfulton pushed a commit to zopefoundation/ZODB that referenced this pull request May 17, 2016
This and zodb/relstorage#31 make RelStorage
pass with this branch (as much as they pass with master).
@jensens
Copy link

jensens commented Jun 9, 2016

Short review: looks fine.

It looks like development/ maintenance of RelStorage is a bit stalled. I'am sure this partly is because its in an organisation where only a few people have write access. Is moving it to zopefoundation repo an option?

@jamadden jamadden mentioned this pull request Jun 9, 2016
@jimfulton
Copy link
Member Author

Jens, thanks for the review. That's probably a good idea. I'll see if Shane has any objections. I doubt he will.

@jimfulton jimfulton merged commit 9b62af6 into zodb:master Jun 9, 2016
@jimfulton
Copy link
Member Author

Jason, that works for me. Do you want to make a release?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants