Skip to content

Conversation

@ThomasWaldmann
Copy link
Contributor

it now fails in the same way for remote r/o targets as for local r/o targets (with a write lock exception).

with a remote target, the Repository instance seems to survive exceptions and thus the wrong self._txn_state lead to the strange behaviour that can be seen in the traceback of issue #202.

i am not completely sure whether this is the best solution, please review.

Without this, you just got "RCPError: AttributeError", now you get (e.g.):

RPCError: AttributeError(b"'Repository' object has no attribute 'segments'",)
@ThomasWaldmann ThomasWaldmann changed the title improve on ready-only targets, see issue #202 improve on read-only targets, see issue #202 May 14, 2015
@ThomasWaldmann
Copy link
Contributor Author

closing this pull request, seems unwanted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant