RemoteStreamSource does not stream from fallback locations of fallback locations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Critical
|
Robert Collins |
Bug Description
Symptoms
========
An error about AbsentContentFa
File "...bzrlib/
wt.
in the backtrace.
AND
You have three branches:
A stacked on B
B stacked on C
C not stacked
AND
A and B are both on smart servers.
Workaround
==========
Put nosmart+ at the front of the url you are branching from. Because the bug is in the bzr+ssh support code, using nosmart+ disables the streaming code path and prevents the bug occuring.
Cause
=====
bzr branch A tmp/foo will stream from A, then from B, and stop at this point rather than streaming from C. This is caused by a bug in the bzr+ssh support code.
The symptom shows up late because the recipient repository isn't strict enough about what it receives. see bug 406686 and bug 406687 for addressing that.
Related branches
- John A Meinel: Approve
- Diff: 92 lines
Changed in bzr: | |
importance: | Undecided → Critical |
milestone: | none → 2.0 |
status: | New → Triaged |
summary: |
- ACF when trying to branch from any of my canonical-identity-provider - branches + RemoteStreamSource does not stream from fallback locations of fallback + locations |
description: | updated |
tags: | added: hpss |
description: | updated |
Changed in bzr: | |
assignee: | nobody → Robert Collins (lifeless) |
status: | Triaged → Fix Committed |
$ bzr branch lp:~salgado/canonical-identity-provider/import-person-from-lp-registry-3 ValueError: A request was made for key: ('sha1: f4bb3cbd77a7fa6 ed7b4a9df79d4e3 b69c0cc1c6' ,), but that content is not available, and the calling code does not handle if it is missing.
bzr: ERROR: exceptions.
Traceback (most recent call last): python2. 6/dist- packages/ bzrlib/ commands. py", line 835, in exception_ to_return_ code python2. 6/dist- packages/ bzrlib/ commands. py", line 1030, in run_bzr python2. 6/dist- packages/ bzrlib/ commands. py", line 647, in run_argv_aliases **all_cmd_ args) python2. 6/dist- packages/ bzrlib/ builtins. py", line 1236, in run branch= br_from) python2. 6/dist- packages/ bzrlib/ bzrdir. py", line 1194, in sprout hardlink) python2. 6/dist- packages/ bzrlib/ bzrdir. py", line 1598, in create_workingtree _tree=accelerat or_tree, hardlink=hardlink) python2. 6/dist- packages/ bzrlib/ workingtree_ 4.py", line 1408, in initialize set_parent_ trees(parents_ list, allow_leftmost_ as_ghost= True) python2. 6/dist- packages/ bzrlib/ mutabletree. py", line 52, in tree_write_locked python2. 6/dist- packages/ bzrlib/ workingtree_ 4.py", line 1105, in set_parent_trees set_parent_ trees(real_ trees, ghosts=ghosts) python2. 6/dist- packages/ bzrlib/ dirstate. py", line 2429, in set_parent_trees iter_entries_ by_dir( ): python2. 6/dist- packages/ bzrlib/ inventory. py", line 872, in iter_entries_by_dir cur_dir. children. iteritems( )): python2. 6/dist- packages/ bzrlib/ inventory. py", line 2114, in children filter= [(self. file_id, )]): python2. 6/dist- packages/ bzrlib/ chk_map. py", line 998, in iteritems nodes(store, key_filter= key_filter) : python2. 6/dist- packages/ bzrlib/ chk_map. py", line 1141, in _iter_nodes get_bytes_ as('fulltext' ) python2. 6/dist- packages/ bzrlib/ versionedfile. py", line 182, in get_bytes_as f4bb3cbd77a7fa6 ed7b4a9df79d4e3 b69c0cc1c6' ,), but that content is not available, and the calling code does not handle if it is missing.
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
source_
File "/usr/lib/
hardlink=
File "/usr/lib/
accelerator
File "/usr/lib/
wt.
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
dirstate.
File "/usr/lib/
for path, entry in tree.inventory.
File "/usr/lib/
for child_name, child_ie in sorted(
File "/usr/lib/
key_
File "/usr/lib/
for node, node_filter in self._iter_
File "/usr/lib/
bytes = record.
File "/usr/lib/
% (self.key,))
ValueError: A request was made for key: ('sha1: